Brush Class
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.
For a list of all members of this type, see Brush Members.
System.Object
System.MarshalByRefObject
System.Drawing.Brush
System.Drawing.Drawing2D.HatchBrush
System.Drawing.Drawing2D.LinearGradientBrush
System.Drawing.Drawing2D.PathGradientBrush
System.Drawing.SolidBrush
System.Drawing.TextureBrush
[Visual Basic] MustInherit Public Class Brush Inherits MarshalByRefObject Implements ICloneable, IDisposable [C#] public abstract class Brush : MarshalByRefObject, ICloneable, IDisposable [C++] public __gc __abstract class Brush : public MarshalByRefObject, ICloneable, IDisposable [JScript] public abstract class Brush extends MarshalByRefObject implements ICloneable, IDisposable
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
This is an abstract base class and cannot be instantiated. To create a brush object, use classes derived from Brush, such as SolidBrush, TextureBrush, and LinearGradientBrush.
Requirements
Namespace: System.Drawing
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System.Drawing (in System.Drawing.dll)