## Graphics.FillPath method

填充 a 的内部[`GraphicsPath`](../../graphicspath/) .

```csharp
public void FillPath(Brush brush, GraphicsPath path)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| brush | Brush | [`Brush`](../../brush/)这决定了填充的特性。 |
| path | GraphicsPath | [`GraphicsPath`](../../graphicspath/)表示要填充的路径。 |

### 例外

| 例外 | （健康）状况 |
| --- | --- |
| ArgumentNullException | *brush*为空。 -或- *path*一片空白。 |

### 也可以看看

* class [Brush](../../brush/)
* class [GraphicsPath](../../graphicspath/)
* class [Graphics](../)
* 命名空间 [Aspose.PSD](../../graphics/)
* 部件 [Aspose.PSD](../../../)


