DashCap Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the type of graphic shape to use on both ends of each dash in a dashed line.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public enum DashCap

Member nameDescription
Flat

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

Round

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

Triangle

Specifies a triangular cap that points both ends of each dash.

.NET Framework
Available since 1.1
Return to top
Show: