## FillPie(Brush, Rectangle, float, float) {#fillpie_2}

填充由 Rectangle 结构指定的椭圆和两条径向线定义的饼图部分的内部。

```csharp
public void FillPie(Brush brush, Rectangle rect, float startAngle, float sweepAngle)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| brush | Brush | 决定填充特性的画笔。 |
| rect | Rectangle | 矩形结构，表示定义饼图部分所在的椭圆的边界矩形。 |
| startAngle | Single | 从 x 轴到饼图部分的第一侧顺时针测量的角度（以度为单位）。 |
| sweepAngle | Single | 从 startAngle 参数顺时针测量到饼图部分第二侧的角度（以度为单位）。 |

### 也可以看看

* class [Brush](../../brush)
* struct [Rectangle](../../rectangle)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## FillPie(Brush, float, float, float, float, float, float) {#fillpie_1}

填充由一对坐标、宽度、高度和两条径向线指定的椭圆定义的饼图部分的内部。

```csharp
public void FillPie(Brush brush, float x, float y, float width, float height, float startAngle, 
    float sweepAngle)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| brush | Brush | Brush这决定了填充的特性。 |
| x | Single | 边界矩形左上角的 x 坐标，用于定义饼图部分所在的椭圆。 |
| y | Single | 边界矩形左上角的 y 坐标，用于定义饼图部分所在的椭圆。 |
| width | Single | 边界矩形的宽度，用于定义饼图部分所在的椭圆。 |
| height | Single | 边界矩形的高度，它定义了饼图部分来自的椭圆。 |
| startAngle | Single | 从 x 轴到饼图部分的第一侧顺时针测量的角度（以度为单位）。 |
| sweepAngle | Single | 从 startAngle 参数顺时针测量到饼图部分第二侧的角度（以度为单位）。 |

### 也可以看看

* class [Brush](../../brush)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

---

## FillPie(Brush, int, int, int, int, int, int) {#fillpie}

填充由一对坐标、宽度、高度和两条径向线指定的椭圆定义的饼图部分的内部。

```csharp
public void FillPie(Brush brush, int x, int y, int width, int height, int startAngle, 
    int sweepAngle)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| brush | Brush | Brush这决定了填充的特性。 |
| x | Int32 | 边界矩形左上角的 x 坐标，用于定义饼图部分所在的椭圆。 |
| y | Int32 | 边界矩形左上角的 y 坐标，用于定义饼图部分所在的椭圆。 |
| width | Int32 | 边界矩形的宽度，用于定义饼图部分所在的椭圆。 |
| height | Int32 | 边界矩形的高度，它定义了饼图部分来自的椭圆。 |
| startAngle | Int32 | 从 x 轴到饼图部分的第一侧顺时针测量的角度（以度为单位）。 |
| sweepAngle | Int32 | 从 startAngle 参数顺时针测量到饼图部分第二侧的角度（以度为单位）。 |

### 也可以看看

* class [Brush](../../brush)
* class [Graphics](../../graphics)
* 命名空间 [System.Drawing](../../graphics)
* 部件 [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
