Skip to main content

PenAlignment

Namespace: System.Drawing.Drawing2D

Assembly: System.Drawing.Managed (4.0.0.0)

Pen alignment constants. Specifies the alignment of a Pen in relation to the line being drawn.

public enum PenAlignment : Enum

Fields

NameDescription
CenterSpecifies that the Pen is positioned at the center of the line being drawn.
InsetSpecifies that the Pen is positioned on the inside of the line being drawn.
LeftSpecifies that the Pen is positioned to the left of the line being drawn.
OutsetSpecifies that the Pen is positioned on the outside of the line being drawn.
RightSpecifies that the Pen is positioned to the right of the line being drawn.

Used By

NameDescription
Pen.AlignmentGets or sets a PenAlignment that represents the alignment for this Pen.