DocumentUtils.CreateRegularCircumscribedNGon

DocumentUtils.CreateRegularCircumscribedNGon method

Creates a path geometry representing a regular n-gon circumscribed around a circle.

public XpsPathGeometry CreateRegularCircumscribedNGon(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