double y = lineWith / Math.tan(baseAngle);
p = new Point(round(x + y + tolerance), round(high) - lineWith);
polygon.addPoint(p, flag);
p = new Point(round(baseLength - x - y), round(high - lineWith));
polygon.addPoint(p, flag);
double f = lineWith / Math.sin(topAngle / 2);
p = new Point(round(baseLength / 2), (int) Math.round(f));
polygon.addPoint(p, flag);