arc_to method

arc_to

Adds an arc to the path with the given control points and radius, connected to the previous point by a straight line.

def arc_to(self, x1, y1, x2, y2, radius):
    ...
ParameterTypeDescription
x1floatx-axis coordinates for the first control point.
y1floaty-axis coordinates for the first control point.
x2floatx-axis coordinates for the second control point.
y2floaty-axis coordinates for the second control point.
radiusfloatThe arc’s radius.

See Also