[]
        
(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)
Public Sub New(dashStyle As DashStyle, color As 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)
Public Sub New(dashStyle As DashStyle, color As Color, width As Integer)
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)
Public Sub New(dashStyle As DashStyle, color As Color, width As Integer, cap As DashCap, join As LineJoin)
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.