Export (0) Print
Expand All

PenAlignment Enumeration

Specifies the alignment of a Pen object in relation to the theoretical, zero-width line.

[Visual Basic]
<Serializable>
Public Enum PenAlignment
[C#]
[Serializable]
public enum PenAlignment
[C++]
[Serializable]
__value public enum PenAlignment
[JScript]
public
   Serializable
enum PenAlignment

Remarks

A 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 Pen object can be positioned to draw inside of a line or centered over the line.

Members

Member name Description
Center Specifies that the Pen object is centered over the theoretical line.
Inset Specifies that the Pen is positioned on the inside of the theoretical line.
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.

Requirements

Namespace: System.Drawing.Drawing2D

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

System.Drawing.Drawing2D Namespace

Show:
© 2014 Microsoft