Expression painter:arc(x,y,r,angle1,angle2)
appends an arc of a circle to the current path.
The arc is centered at coordinates (x,y)
with radius r
and extends from angle angle1
to angle angle2
in the trigonometric direction.
If there is a current point, a line segment joins the current point to the first endpoint of the arc. The second endpoint becomes the new current point.
Angles can be expressed in degrees or radians according to the current angle unit. The default angle unit is the degree.
See also: PostScript operator arc
.