Class SolidBrush

SolidBrush class

Defines a brush of a single color. Brushes are used to fill graphics shapes, such as rectangles, ellipses, pies, polygons, and paths.

public class SolidBrush : Brush

Constructors

NameDescription
SolidBrush(Color)Initializes a new instance of the SolidBrush class.

Properties

NameDescription
Color { get; set; }Gets or sets the color of this SolidBrush object.

Methods

NameDescription
override Clone()Creates an exact copy of this SolidBrush object.
Dispose()Releases all resources used by this Brush object.

See Also