## Graphics.FillPath method

Fills the interior of a [`GraphicsPath`](../../graphicspath/).

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

| Parameter | Type | Description |
| --- | --- | --- |
| brush | Brush | [`Brush`](../../brush/) that determines the characteristics of the fill. |
| path | GraphicsPath | [`GraphicsPath`](../../graphicspath/) that represents the path to fill. |

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | *brush* is null. -or- *path* is null. |

### See Also

* class [Brush](../../brush/)
* class [GraphicsPath](../../graphicspath/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)


