This documentation is archived and is not being maintained.

SolidBrush Class

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.

For a list of all members of this type, see SolidBrush Members.


[Visual Basic]
NotInheritable Public Class SolidBrush
   Inherits Brush
public sealed class SolidBrush : Brush
public __gc __sealed class SolidBrush : public Brush
public class SolidBrush extends Brush

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.


This class inherits from the Brush class.


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)

See Also

SolidBrush Members | System.Drawing Namespace