DocumentUtils.CreatePieSlice

DocumentUtils.CreatePieSlice method

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

public XpsPathGeometry CreatePieSlice(PointF center, float radius, float startAngle, float endAngle)
ParameterTypeDescription
centerPointFThe center of the circle.
radiusSingleThe radius of the circle.
startAngleSingleThe angle of the starting ray.
endAngleSingleThe angle of the ending ray.

Return Value

The XPS path geometry.

See Also