arc_to method

arc_to

Adds an arc to the current path, connecting the previous point to the start point of the arc with a straight line.

def arc_to(self, x1, y1, x2, y2, radius):
    ...
ParameterTypeDescription
x1floatThe x-coordinate of the first arc point.
y1floatThe y-coordinate of the first arc point.
x2floatThe x-coordinate of the second arc point.
y2floatThe y-coordinate of the second arc point.
radiusfloatThe radius of the arc.

See Also