create_pie_slice method

create_pie_slice

Creates a path geometry representing a circle slice between two radial rays.

Returns

The XPS path geometry.

def create_pie_slice(self, center, radius, start_angle, end_angle):
    ...
ParameterTypeDescription
centeraspose.pydrawing.PointFThe center of the circle.
radiusfloatThe radius of the circle.
start_anglefloatThe angle of the starting ray.
end_anglefloatThe angle of the ending ray.

See Also