SolidBrush

System.Drawing.SolidBrush

Namespace: System.Drawing

Assembly: System.Drawing.Managed (4.0.0.0)

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

public class SolidBrush : Brush

Constructors

SolidBrush(color)

Initializes a new instance of the SolidBrush class.

Name
Type
Description

color

A Color structure that represents the color of this brush.

Properties

Color

Color: Gets or sets the color of this SolidBrush object.

Methods

Clone()

Returns: Object.

Last updated

Was this helpful?