This documentation is for the old version. Go to the latest Graphics Mill docs

Pen Constructor (RgbColor, Single)

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

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub New ( _
	color As RgbColor, _
	width As Single _
)
C#
public Pen(
	RgbColor color,
	float width
)

Parameters

color

Type: Aurigma.GraphicsMill.RgbColor

Color of the pen. You can change this value later through property Color.
width

Type: System.Single

Width of the pen. You can change this value later through property Width.

See Also

Reference