arc method

Contents
[ ]

arc

Adds a circular arc to the path.

def arc(self, x, y, radius, start_angle, end_angle):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the center of the arc.
yfloatThe y-coordinate of the center of the arc.
radiusfloatThe radius of the arc.
start_anglefloatThe starting angle of the arc in radians.
end_anglefloatThe ending angle of the arc in radians.

arc

Adds a circular arc to the path.

def arc(self, x, y, radius, start_angle, end_angle, counterclockwise):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the center of the arc.
yfloatThe y-coordinate of the center of the arc.
radiusfloatThe radius of the arc.
start_anglefloatThe starting angle of the arc in radians.
end_anglefloatThe ending angle of the arc in radians.
counterclockwiseboolSpecifies whether the arc should be drawn counterclockwise.

See Also