Pen.Alignment Property

Gets or sets the alignment for this Pen.

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


public PenAlignment Alignment { get; set; }

Property Value

A System.Drawing.Drawing2D.PenAlignment that represents the alignment for this Pen. The default value is Center.


Pen alignment is necessary when pen Width is more than 1. It means how line is positioned relatively to the pen center. Although System.Drawing.Drawing2D.PenAlignment has five possible values, both GDI+ and Graphics Mill support only Center and Inset members.

See Also