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

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