SolidBrush
Namespace: System.Drawing
Assembly: System.Drawing.Managed (4.0.0.0)
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.
- C#
- VB.NET
public class SolidBrush : Brush
Public Class SolidBrush
Inherits Brush
Constructors
SolidBrush(color)
Initializes a new instance of the SolidBrush class.
| Name | Type | Description |
|---|---|---|
| color | 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.