Track arc shapes

This commit is contained in:
Bane Stojkovic
2022-10-30 22:07:14 +01:00
parent f54e73d166
commit 20d957357f
@@ -561,6 +561,9 @@ class G2DWrapper extends Graphics2D implements IDrawingObserver {
@Override
public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) {
canvasGraphics.drawArc(x, y, width, height, startAngle, arcAngle);
if (drawingComponent && (trackingAllowed || trackingContinuityAllowed)) {
appendShapeOutline(new Arc2D.Double(x, y, width, height, startAngle, arcAngle, Arc2D.OPEN));
}
}
@Override