minor changes on FET shapes

This commit is contained in:
hneemann 2017-04-16 21:08:27 +02:00
parent 33bf560a53
commit 0df2fbcd35
2 changed files with 8 additions and 8 deletions

View File

@ -54,10 +54,10 @@ public class FGFETShapeN extends FETShape {
graphic.drawLine(new Vector(6, 2 * SIZE - 4), new Vector(6, 4), Style.THIN);
// the arrow
graphic.drawLine(new Vector(SIZE2 + 5, SIZE), new Vector(SIZE, SIZE), Style.THIN);
graphic.drawLine(new Vector(SIZE2 + 8, SIZE), new Vector(SIZE + 3, SIZE), Style.THIN);
graphic.drawPolygon(new Polygon(true)
.add(SIZE2 + 2, SIZE)
.add(SIZE - SIZE2 / 3, SIZE - SIZE2 / 4)
.add(SIZE - SIZE2 / 3, SIZE + SIZE2 / 4), Style.THIN_FILLED);
.add(SIZE2 + 5, SIZE)
.add(SIZE - SIZE2 / 3 + 3, SIZE - SIZE2 / 4)
.add(SIZE - SIZE2 / 3 + 3, SIZE + SIZE2 / 4), Style.THIN_FILLED);
}
}

View File

@ -54,11 +54,11 @@ public class FGFETShapeP extends FETShape {
// the arrow
graphic.drawLine(new Vector(SIZE2 +1, SIZE), new Vector(SIZE2 + 6, SIZE), Style.THIN);
graphic.drawLine(new Vector(SIZE2 + 1, SIZE), new Vector(SIZE2 + 7, SIZE), Style.THIN);
graphic.drawPolygon(new Polygon(true)
.add(SIZE - SIZE2 / 3 + 4, SIZE)
.add(SIZE2 + 6, SIZE - SIZE2 / 4)
.add(SIZE2 + 6, SIZE + SIZE2 / 4), Style.THIN_FILLED);
.add(SIZE - SIZE2 / 3 + 5, SIZE)
.add(SIZE2 + 7, SIZE - SIZE2 / 4)
.add(SIZE2 + 7, SIZE + SIZE2 / 4), Style.THIN_FILLED);
}
}