[]
        
(Showing Draft Content)

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

SolidPen Constructor

SolidPen()

Initializes a new instance of the Pen class.

Declaration
public SolidPen()
Public Sub New()

SolidPen(Color)

Initializes a new instance of the Pen class.

Declaration
public SolidPen(Color color)
Public Sub New(color As 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)
Public Sub New(color As Color, width As Integer)
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)
Public Sub New(color As Color, width As Integer, cap As DashCap, join As LineJoin)
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.