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

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