## Graphics::FillPie(const SharedPtr\<Brush\>\&, float, float, float, float, float, float) method


在当前对象表示的表面上，使用指定的画笔填充指定的饼形。

```cpp
void System::Drawing::Graphics::FillPie(const SharedPtr<Brush> &brush, float x, float y, float width, float height, float startAngle, float sweepAngle)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 画刷 | const SharedPtr\<Brush\>\& | 填充饼形时使用的画刷 |
| x | 单精度浮点数 | 定义椭圆的矩形左上角的 X 坐标 |
| y | 单精度浮点数 | 定义椭圆的矩形左上角的 Y 坐标 |
| width | 单精度浮点数 | 定义椭圆的矩形的宽度 |
| height | 单精度浮点数 | 定义椭圆的矩形的高度 |
| startAngle | 单精度浮点数 | 从 X 轴顺时针测量到饼形起始点的角度（度） |
| sweepAngle | 单精度浮点数 | 从 **startAngle** 顺时针测量到饼形结束点的角度（度） |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Brush](../../brush/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::FillPie(const SharedPtr\<Brush\>\&, int, int, int, int, int, int) method


在当前对象表示的表面上，使用指定的画笔填充指定的饼形。

```cpp
void System::Drawing::Graphics::FillPie(const SharedPtr<Brush> &brush, int x, int y, int width, int height, int startAngle, int sweepAngle)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 画刷 | const SharedPtr\<Brush\>\& | 填充饼形时使用的画刷 |
| x | int | 定义椭圆的矩形左上角的 X 坐标 |
| y | int | 定义椭圆的矩形左上角的 Y 坐标 |
| width | int | 定义椭圆的矩形的宽度 |
| height | int | 定义椭圆的矩形的高度 |
| startAngle | int | 从 X 轴顺时针测量到饼形起始点的角度（度） |
| sweepAngle | int | 从 **startAngle** 顺时针测量到饼形结束点的角度（度） |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Brush](../../brush/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::FillPie(const SharedPtr\<Brush\>\&, Rectangle, float, float) method


在当前对象表示的表面上，使用指定的画笔填充指定的饼形。

```cpp
void System::Drawing::Graphics::FillPie(const SharedPtr<Brush> &brush, Rectangle rect, float startAngle, float sweepAngle)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 画刷 | const SharedPtr\<Brush\>\& | 填充饼形时使用的画刷 |
| rect | 矩形 | 定义椭圆的矩形 |
| startAngle | 单精度浮点数 | 从 X 轴顺时针测量到饼形起始点的角度（度） |
| sweepAngle | 单精度浮点数 | 从 **startAngle** 顺时针测量到饼形结束点的角度（度） |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Brush](../../brush/)
* Class [Rectangle](../../rectangle/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
