I see two hints for always counterclockwise
(80% sure):
First java.awt.geom.Arc2D
itself tells in it's class description:
* The angles are specified relative to the non-square
* framing rectangle such that 45 degrees always falls on the line from
* the center of the ellipse to the upper right corner of the framing
* rectangle.
This can only be true if 0 degrees
are at 12 pm
and degrees measured clockwise
or 3 pm
and degrees measured counterclockwise
.
Second public void setAngles()
in the same package measure degrees counterclockwise
:
* The arc will always be non-empty and extend counterclockwise
* from the first point around to the second point.
following that it would make sense to follow the same pattern in all functions of that class.
If you need to be sure: Ask the author of that class:
* @author Jim Graham