---
title: "Brush Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Brush.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Brush Class
 
Base class for Graphics Mill for .NET brushes.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public MustInherit Class Brush _Implements ICloneable
```
 
```csharp
public abstract class Brush : ICloneable
```
 
## Remarks
  
This class is abstract, so you cannot directly instantiate it. You should create some of derived classes (e.g. [SolidBrush](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_SolidBrush.htm.md) or [HatchBrush](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_HatchBrush.htm.md)). You can also cast some brush classes from [System.Drawing](http://msdn2.microsoft.com/en-us/xs6ftd89) namespace (and vice versa).
 
You can get an invisible brush (which actually do nothing) using [Empty](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Brush_Empty.htm.md) property. To check whether the brush is empty, use property [IsEmpty](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Brush_IsEmpty.htm.md).
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - Aurigma.GraphicsMill.Drawing.Brush
        - [Aurigma.GraphicsMill.Drawing.SolidBrush](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_SolidBrush.htm.md)
        - [Aurigma.GraphicsMill.Drawing.HatchBrush](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_HatchBrush.htm.md)
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
 
## Object Model

[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_296.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Brush.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_297.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Brush.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel1.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_298.png)
  
## See Also

### Reference

- [Brush Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Drawing_Brush.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
