You’re viewing outdated documentation. View the latest Graphics Mill documentation.

Pen Constructor (RgbColor, Single, DashStyle)

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

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