Brush
Namespace: System.Drawing
Assembly: System.Drawing.Managed (4.0.0.0)
Classes derived from this abstract base class define objects used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths.
- C#
- VB.NET
public class Brush : MarshalByRefObject, ICloneable, IDisposable
Public Class Brush
Inherits MarshalByRefObject
Implements ICloneable, IDisposable
Methods
CheckImmutable()
Clone()
Returns: Object.
Dispose()
Deletes this Brush.
Finalize()
Finalizes an instance of the Brush class.
Inherited By
| Name | Description |
|---|---|
| SolidBrush | Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths. This class cannot be inherited. |
| TextureBrush | Each property of the TextureBrush class is a Brush object that uses an image to fill the interior of a shape. This class cannot be inherited. |
| HatchBrush | Defines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited. |
| LinearGradientBrush | Encapsulates a Brush with a linear gradient. This class cannot be inherited. |
| PathGradientBrush | Encapsulates a Brush object that fills the interior of a GraphicsPath object with a gradient. This class cannot be inherited. |