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

Pen Constructor (RgbColor, Single, DashStyle)

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

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

Syntax

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

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.
style

Type: System.Drawing.Drawing2D.DashStyle

Dash style of the pen. You can change this value later through property DashStyle.

See Also

Reference