Appends an arc of a circle to the receiver’s path.
- macOS 10.0+
Specifies the center point of the circle used to define the arc.
Specifies the radius of the circle used to define the arc.
Specifies the starting angle of the arc, measured in degrees counterclockwise from the x-axis.
Specifies the end angle of the arc, measured in degrees counterclockwise from the x-axis.
The created arc lies on the perimeter of the circle, between the angles specified by the
end parameters. The arc is drawn in a counterclockwise direction. If the receiver's path is empty, this method sets the current point to the beginning of the arc before adding the arc segment. If the receiver's path is not empty, a line is drawn from the current point to the starting point of the arc.
Depending on the length of the arc, this method may add multiple connected curve segments to the path.