mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
Add IC symbol
This commit is contained in:
Binary file not shown.
+5
@@ -113,6 +113,11 @@ public class ICSymbol extends AbstractTransparentComponent<String> {
|
|||||||
drawCenteredText(g2d, display == Display.VALUE ? getValue() : getName(), x,
|
drawCenteredText(g2d, display == Display.VALUE ? getValue() : getName(), x,
|
||||||
controlPoints[0].y + pinSpacing, HorizontalAlignment.CENTER,
|
controlPoints[0].y + pinSpacing, HorizontalAlignment.CENTER,
|
||||||
VerticalAlignment.CENTER);
|
VerticalAlignment.CENTER);
|
||||||
|
// Draw +/- markers
|
||||||
|
drawCenteredText(g2d, "-", controlPoints[0].x + pinSpacing, controlPoints[0].y,
|
||||||
|
HorizontalAlignment.CENTER, VerticalAlignment.CENTER);
|
||||||
|
drawCenteredText(g2d, "+", controlPoints[1].x + pinSpacing, controlPoints[1].y,
|
||||||
|
HorizontalAlignment.CENTER, VerticalAlignment.CENTER);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user