[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.SolidPen.-ctor

SolidPen Constructor

SolidPen()

Initializes a new instance of the Pen class.

Declaration
public SolidPen()

SolidPen(Color)

Initializes a new instance of the Pen class.

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

A Color indicates the color of the pen.

SolidPen(Color, int)

Initializes a new instance of the Pen class.

Declaration
public SolidPen(Color color, int width)
Parameters
Type Name Description
Color color

A Color indicates the color of the pen.

int width

An int indicates the width of the pen.

SolidPen(Color, int, DashCap, LineJoin)

Initializes a new instance of the SolidPen class.

Declaration
public SolidPen(Color color, int width, DashCap cap, LineJoin join)
Parameters
Type Name Description
Color color

A Color indicates the color of the pen.

int width

An int indicates the width of the pen.

DashCap cap

A DashCap indicates the cap style of the pen.

LineJoin join

A LineJoin indicates the join style of the pen.