Search
SolidBrush Members
Constructors Properties Methods
 


SolidBrush objects represent brushes of a single color that are used to fill the interiors of geometric shapes.

The following tables list the members exposed by the SolidBrush type.

 Public Constructors

  Name Description

SolidBrush

Overloaded. Initializes a new instance of the SolidBrush class.

 Public Properties

  Name Description

Color

Gets or sets the color of this brush.

 Public Methods

  Name Description

Clone

Creates an exact copy of this brush.

CreateGdiBrush

Returns an instance of the System.Drawing.SolidBrush class that can be used to paint in a GDI+ Graphics object.

GetObjectData

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the brush.

ToString

Returns "Solid".

 See Also