Pen Constructor

Constructs new Pen class instance.

Overload List

Name Description
Public method Pen(Pen)

Constructs new Pen class instance. All pen settings are taken from standard System.Drawing.Pen object.

Public method Pen(Pen)

Constructs new Pen class instance from the specified existing pen.

Public method Pen(RgbColor, Single)

Constructs new Pen class instance. Such main pen settings of pen as width and color can be specified here.

Public method Pen(RgbColor, Single, DashStyle)

Constructs new Pen class instance. You can set such parameters as pen width, color, and dash style.

See Also

Reference