Made the pull-up shape consistent with the Vdd shape.

This commit is contained in:
hneemann 2017-02-25 15:54:57 +01:00
parent cd78f63730
commit 17d00acaa6

View File

@ -55,12 +55,12 @@ public class PullUpShape implements Shape {
Style.NORMAL
);
int o = 4;
graphic.drawLine(new Vector(0, -SIZE), new Vector(0, -SIZE - SIZE2 - o), Style.NORMAL);
graphic.drawLine(new Vector(0, -SIZE), new Vector(0, -SIZE - SIZE - o), Style.NORMAL);
graphic.drawPolygon(
new Polygon(true)
new Polygon(false)
.add(-SIZE2, -SIZE - SIZE2 - o)
.add(SIZE2, -SIZE - SIZE2 - o)
.add(0, -SIZE - o - SIZE2 - SIZE * 2 / 3),
.add(0, -SIZE - o - SIZE2 - SIZE * 2 / 3)
.add(SIZE2, -SIZE - SIZE2 - o),
Style.NORMAL
);
}