public void arc (double centerX, double centerY, double radiusX, double radiusY, double startAngle, double length)

Adds path elements to the current path to make an arc that uses Euclidean degrees. This Euclidean orientation sweeps from East to North, then West, then South, then back to East. The coordinates are transformed by the current transform as they are added to the path and unaffected by subsequent changes to the transform. The current path is a path attribute used for any of the path methods as specified in the Rendering Attributes Table and is not affected by the save() and restore() operations.

Parameters:
centerX    the center x position of the arc.
centerY    the center y position of the arc.
radiusX    the x radius of the arc.
radiusY    the y radius of the arc.
startAngle    the starting angle of the arc in the range 0-360.0
length    the length of the baseline of the arc.