Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DashCap enumeration specifies the type of graphic shape to use on both ends of each dash in a dashed line.
Syntax
typedef enum DashCap {
DashCapFlat = 0,
DashCapRound = 2,
DashCapTriangle = 3
} ;
Constants
DashCapFlatValue: 0 Specifies a square cap that squares off both ends of each dash. |
DashCapRoundValue: 2 Specifies a circular cap that rounds off both ends of each dash. |
DashCapTriangleValue: 3 Specifies a triangular cap that points both ends of each dash. |
Remarks
If you set the alignment of a Pen object to PenAlignmentInset, you cannot use that pen to draw triangular dash caps.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | gdiplusenums.h (include Gdiplus.h) |