DocumentUtils.CreateCircularSegment

DocumentUtils.CreateCircularSegment method

Creates a path geometry representing a circular segment between two angles.

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

Return Value

The XPS path geometry.

See Also