GpDashCap enumeration

Selects the shape at both ends of each dash of a dashed line.

The enumeration has fewer members than GpLineCap, whose Flat, Round and Triangle members it repeats with the same values. The package declares the dash cap of a pen as a GpLineCap; the dashCap argument of Pen.SetLineCap is the one place that takes this enumeration.

Member Value Description
DashCapFlat 0 A square end that stops at the end of the dash.
DashCapRound 2 A rounded end.
DashCapTriangle 3 A triangular end.

Used by

See Also

  • DashCap – Microsoft’s documentation of the GDI+ enumeration
  • Enumerations – all the enumerations of the package
  • Pen class