DocumentUtils.CreateRegularInscribedNGon

DocumentUtils.CreateRegularInscribedNGon method

Creates a path geometry representing a regular n-gon inscribed in a circle.

public XpsPathGeometry CreateRegularInscribedNGon(int n, PointF center, float radius)
ParameterTypeDescription
nInt32The number of vertices.
centerPointFThe center of the circle.
radiusSingleThe radius of the circle.

Return Value

The XPS path geometry.

See Also