[]
Initializes a new instance of the SolidBrush class.
public SolidBrush()
The Color property is set to Black (default) and the Width property is set to 1 (default).
Initializes a new instance of the SolidBrush class with the specified color.
public SolidBrush(Color color)
Type | Name | Description |
---|---|---|
Color | color | A Color structure that indicates the color of this SolidBrush object. |
The Color property is set to the color specified
by the color
parameter. The Width property is set
to 1 (default).