ellipse method

ellipse

Adds an ellipse to the current path.

def ellipse(self, x, y, radius_x, radius_y, rotation, start_angle, end_angle):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the center of the ellipse.
yfloatThe y-coordinate of the center of the ellipse.
radius_xfloatThe x-radius of the ellipse.
radius_yfloatThe y-radius of the ellipse.
rotationfloatThe rotation of the ellipse in radians.
start_anglefloatThe starting angle of the ellipse in radians.
end_anglefloatThe ending angle of the ellipse in radians.

ellipse

Adds an ellipse to the current path.

def ellipse(self, x, y, radius_x, radius_y, rotation, start_angle, end_angle, anticlockwise):
    ...
ParameterTypeDescription
xfloatThe x-coordinate of the center of the ellipse.
yfloatThe y-coordinate of the center of the ellipse.
radius_xfloatThe x-radius of the ellipse.
radius_yfloatThe y-radius of the ellipse.
rotationfloatThe rotation of the ellipse in radians.
start_anglefloatThe starting angle of the ellipse in radians.
end_anglefloatThe ending angle of the ellipse in radians.
anticlockwiseboolSpecifies whether the ellipse should be drawn in the anticlockwise direction.

See Also