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.
- C#
- VB.NET
public enum PenAlignment : Enum
Public Enum PenAlignment As [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 |
|---|---|
| Pen.Alignment | Gets or sets a PenAlignment that represents the alignment for this Pen. |