Aspose::Page::XPS::DocumentUtils::CreateRegularCircumscribedNGon method

DocumentUtils::CreateRegularCircumscribedNGon method

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

System::SharedPtr<XpsModel::XpsPathGeometry> Aspose::Page::XPS::DocumentUtils::CreateRegularCircumscribedNGon(int32_t n, System::Drawing::PointF center, float radius)
ParameterTypeDescription
nint32_tThe number of vertices.
centerSystem::Drawing::PointFThe center of the circle.
radiusfloatThe radius of the circle.

ReturnValue

The XPS path geometry.

See Also