Arc support


#1

Does JGo support arcs? What I am looking for is a JGoDrawable that
basically provides the functionality of the java.awt.Graphics.drawArc()
method.


#2

No, it doesn’t–Bezier curves were more useful for drawing strokes/links.
But you could easily implement this yourself in a JGoDrawable subclass. You might want to start by copying the Diamond example class, which manipulates a GeneralPath. Of course you’ll want to replace its implementation of makePath, to append an Arc2D instead of drawing the lines of a diamond.
The more difficult programming task would be to figure out how to implement resizing to allow the user to control the direction, curvature, and length of the arc.