**Inheritance:**
java.lang.Object
```
public final class BrushExtensions
```

Contains extension methods for `Brush` and `System.Drawing.Brush`.
## Methods

| Method | Description |
| --- | --- |
| [toGdiBrush(Brush brush)](#toGdiBrush-com.aspose.imaging.Brush-) | Converts the `Brush` to the `System.Drawing.Brush`. |
### toGdiBrush(Brush brush) {#toGdiBrush-com.aspose.imaging.Brush-}
```
public static System.Drawing.Brush toGdiBrush(Brush brush)
```


Converts the `Brush` to the `System.Drawing.Brush`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| brush | [Brush](../../com.aspose.imaging/brush) | The `Brush` to convert. |

**Returns:**
[Brush](../../com.aspose.ms.system.drawing/brush) - The converted `System.Drawing.Brush`.
