Aspose::Page::XPS::DocumentUtils::CreateRegularInscribedNGon method

DocumentUtils::CreateRegularInscribedNGon method

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

System::SharedPtr<XpsModel::XpsPathGeometry> Aspose::Page::XPS::DocumentUtils::CreateRegularInscribedNGon(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