# Brush class

Namespace: [Eto.Drawing](https://eto.picoe.ca/api/namespace/eto.drawing.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public abstract class Brush : IHandlerSource, IControlObjectSource, IDisposable
```

Base brush class to use when calling fill methods of a [Graphics](https://eto.picoe.ca/api/type/eto.drawing.graphics.md) object

**Derived types:** [LinearGradientBrush](https://eto.picoe.ca/api/type/eto.drawing.lineargradientbrush.md), [RadialGradientBrush](https://eto.picoe.ca/api/type/eto.drawing.radialgradientbrush.md), [SolidBrush](https://eto.picoe.ca/api/type/eto.drawing.solidbrush.md), [TextureBrush](https://eto.picoe.ca/api/type/eto.drawing.texturebrush.md)

## Properties

- [ControlObject](https://eto.picoe.ca/api/type/eto.drawing.brush/controlobject.md): Gets or sets the control object for this widget
- [Handler](https://eto.picoe.ca/api/type/eto.drawing.brush/handler.md): Gets the platform handler object for the widget

## Methods

- [Dispose](https://eto.picoe.ca/api/type/eto.drawing.brush/dispose.md): (2 overloads) Releases all resource used by the [Brush](https://eto.picoe.ca/api/type/eto.drawing.brush.md) object.
