PenAlignment enumeration
Applies to: desktop apps only
The PenAlignment enumeration specifies the alignment of a pen relative to the stroke that is being drawn.
Syntax
typedef enum {
PenAlignmentCenter = 0,
PenAlignmentInset = 1
} PenAlignment;
Constants
- PenAlignmentCenter
-
Specifies that the pen is aligned on the center of the line that is drawn.
- PenAlignmentInset
-
Specifies, when drawing a polygon, that the pen is aligned on the inside of the edge of the polygon.
Remarks
If you set the alignment of a Pen object to PenAlignmentInset, you cannot use that pen to draw compound lines or triangular dash caps.
Requirements
|
Minimum supported client | Windows XP, Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Product | GDI+ 1.0 |
|
Header |
|
Send comments about this topic to Microsoft
Build date: 3/6/2012