Skip to main content

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.

public class Brush : MarshalByRefObject, ICloneable, IDisposable

Methods

Instance member CheckImmutable()

Instance member Clone()

Returns: Object.

Instance member Dispose()

Deletes this Brush.

Protected member Finalize()

Finalizes an instance of the Brush class.

Inherited By

NameDescription
SolidBrushDefines 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.
TextureBrushEach 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.
HatchBrushDefines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.
LinearGradientBrushEncapsulates a Brush with a linear gradient. This class cannot be inherited.
PathGradientBrushEncapsulates a Brush object that fills the interior of a GraphicsPath object with a gradient. This class cannot be inherited.