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

包含针对 `Brush` 和 `System.Drawing.Brush` 的扩展方法。
## 方法

| 方法 | 描述 |
| --- | --- |
| [toGdiBrush(Brush brush)](#toGdiBrush-com.aspose.imaging.Brush-) | 将 `Brush` 转换为 `System.Drawing.Brush`。 |
### toGdiBrush(Brush brush) {#toGdiBrush-com.aspose.imaging.Brush-}
```
public static System.Drawing.Brush toGdiBrush(Brush brush)
```


将 `Brush` 转换为 `System.Drawing.Brush`。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| brush | [Brush](../../com.aspose.imaging/brush) | 要转换的 `Brush`。 |

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