[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.SolidBrush.-ctor

SolidBrush Constructor

SolidBrush()

Initializes a new instance of the SolidBrush class.

Declaration
public SolidBrush()
Remarks

The Color property is set to Black (default) and the Width property is set to 1 (default).

SolidBrush(Color)

Initializes a new instance of the SolidBrush class with the specified color.

Declaration
public SolidBrush(Color color)
Parameters
Type Name Description
Color color

A Color structure that indicates the color of this SolidBrush object.

Remarks

The Color property is set to the color specified by the color parameter. The Width property is set to 1 (default).