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

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

Properties

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

Methods

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

See Also