[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DashPen.-ctor

DashPen Constructor

DashPen(DashStyle, Color)

Initializes a new instance of the DashPen class.

Declaration
public DashPen(DashStyle dashStyle, Color color)
Parameters
Type Name Description
DashStyle dashStyle

A DashStyle indicate the style of lines be drawed

Color color

A Color indicates the color of the pen.

DashPen(DashStyle, Color, int)

Initializes a new instance of the DashPen class.

Declaration
public DashPen(DashStyle dashStyle, Color color, int width)
Parameters
Type Name Description
DashStyle dashStyle

A DashStyle indicate the style of lines be drawed

Color color

A Color indicates the color of the pen.

int width

An int indicates the width of the pen.

DashPen(DashStyle, Color, int, DashCap, LineJoin)

Initializes a new instance of the DashPen class.

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

A DashStyle indicate the style of lines be drawed

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.