PenAlignment

System.Drawing.Drawing2D.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

Name
Description

Center

Specifies that the Pen is positioned at the center of the line being drawn.

Inset

Specifies that the Pen is positioned on the inside of the line being drawn.

Left

Specifies that the Pen is positioned to the left of the line being drawn.

Outset

Specifies that the Pen is positioned on the outside of the line being drawn.

Right

Specifies that the Pen is positioned to the right of the line being drawn.

Used By

Name
Description

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

Last updated

Was this helpful?