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

Pen.Alignment Property

Gets/sets pen alignment.

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

Syntax

Visual Basic
Public Property Alignment As PenAlignment
C#
public PenAlignment Alignment { get; set; }

Property Value

System.Drawing.Drawing2D.PenAlignment value specifying current pen alignment.

Remarks

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 for .NET support only Center and Inset members.

Default value is Center.

See Also

Reference