## DocumentUtils::CreatePieSlice method


创建表示两条径向射线之间圆形切片的路径几何体。

```cpp
System::SharedPtr<XpsModel::XpsPathGeometry> Aspose::Page::XPS::DocumentUtils::CreatePieSlice(System::Drawing::PointF center, float radius, float startAngle, float endAngle)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| center | System::Drawing::PointF | 圆心。 |
| radius | 单精度浮点数 | 圆的半径。 |
| startAngle | 单精度浮点数 | 起始射线的角度。 |
| endAngle | 单精度浮点数 | 结束射线的角度。 |

### ReturnValue

该 [XPS](../../) 路径几何体。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsPathGeometry](../../../aspose.page.xps.xpsmodel/xpspathgeometry/)
* Class [PointF](../../../system.drawing/pointf/)
* Class [DocumentUtils](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
