circle method

circle

Defines a circular clip path.

Returns

The current instance of ClipPathBuilder for method chaining.

def circle(self, radius, center_x, center_y, type):
    ...
ParameterTypeDescription
radiusfloatRadius of the circle.
center_xfloatX-coordinate of the circle’s center.
center_yfloatY-coordinate of the circle’s center.
typeLengthTypeThe unit type for the dimensions.

See Also