ar method

ar

Adds a relative ‘Elliptical Arc Curve’ command to the path data.

Returns

The current PathBuilder instance.

def ar(self, r1, r2, angle, large_arc_flag, sweep_flag, x, y):
    ...
ParameterTypeDescription
r1floatThe x-radius of the ellipse, relative to the current position.
r2floatThe y-radius of the ellipse, relative to the current position.
anglefloatThe rotation angle of the ellipse in degrees, relative to the current position.
large_arc_flagboolFlag indicating if the arc should be greater than or equal to 180 degrees.
sweep_flagboolFlag indicating if the arc should be drawn in a positive angle direction.
xfloatThe x-coordinate of the end point of the arc, relative to the current position.
yfloatThe y-coordinate of the end point of the arc, relative to the current position.

See Also