Name

PenAlignment

Synopsis

This enumeration is used to specify how a System.Drawing.Pen (which has certain width) is to be painted over the theoretical line of width 0 that defines a path. In v1.0 of GDI+, only the Center option appears to work correctly.


public enum PenAlignment {

   Center = 0,

   Inset = 1,

   Outset = 2,

   Left = 3,

   Right = 4

}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) PenAlignment

Returned By

System.Drawing.Pen.Alignment

Passed To

System.Drawing.Pen.Alignment

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.