Specifies the alignment of a System.Drawing.Pen object in relation to the theoretical, zero-width line.
A System.Drawing.Pen object has width. The center point of this pen width is aligned relative to the line being drawn depending on the alignment value. A System.Drawing.Pen object can be positioned to draw inside of a line or centered over the line.
Member Name | Description |
---|---|
Center |
Specifies that the System.Drawing.Pen object is centered over the theoretical line. |
Inset |
Specifies that the System.Drawing.Pen is positioned on the inside of the theoretical line. |
Left |
Specifies the System.Drawing.Pen is positioned to the left of the theoretical line. |
Outset |
Specifies the System.Drawing.Pen is positioned on the outside of the theoretical line. |
Right |
Specifies the System.Drawing.Pen is positioned to the right of the theoretical line. |