Export (0) Print
Expand All

DashCap enumeration

Applies to: desktop apps only

The DashCap enumeration specifies the type of graphic shape to use on both ends of each dash in a dashed line.

Syntax

typedef enum  {
  DashCapFlat       = 0,
  DashCapRound      = 2,
  DashCapTriangle   = 3 
} DashCap;

Constants

DashCapFlat

Specifies a square cap that squares off both ends of each dash.

DashCapRound

Specifies a circular cap that rounds off both ends of each dash.

DashCapTriangle

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

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusenums.h (include Gdiplus.h)

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft