Aspose::Page::XPS::DocumentUtils::CreatePieSlice method

DocumentUtils::CreatePieSlice method

Creates a path geometry representing a circle slice between two radial rays.

System::SharedPtr<XpsModel::XpsPathGeometry> Aspose::Page::XPS::DocumentUtils::CreatePieSlice(System::Drawing::PointF center, float radius, float startAngle, float endAngle)
ParameterTypeDescription
centerSystem::Drawing::PointFThe center of the circle.
radiusfloatThe radius of the circle.
startAnglefloatThe angle of the starting ray.
endAnglefloatThe angle of the ending ray.

ReturnValue

The XPS path geometry.

See Also