[]
        
(Showing Draft Content)

GrapeCity.Drawing.Pen.-ctor

Pen Constructor

Pen(Brush, double)

Initializes a new instance of the Pen class with the specified brush and width.

Declaration
public Pen(Brush brush, double width = 1)
Public Sub New(brush As Brush, Optional width As Double = 1)
Parameters
Type Name Description
Brush brush

A Brush that determines the characteristics of this Pen.

double width

The width of the new Pen.

Pen(SchemeColor, double)

Initializes a new instance of the Pen class with the specified color and width.

Declaration
public Pen(SchemeColor color, double width)
Public Sub New(color As SchemeColor, width As Double)
Parameters
Type Name Description
SchemeColor color

A SchemeColor that determines the characteristics of this Pen.

double width

The width of the new Pen.