Enum DashStyle
Describes the sequence of dashes and gaps in a stroke.
public enum DashStyle
Fields
Custom = 5
The dash pattern is specified by an array of floating-point values.
Dash = 1
A dash followed by a gap of equal length. The dash and the gap are each twice as long as the stroke thickness.
The equivalent dash array for D2D1_DASH_STYLE_DASH is {2, 2}.
DashDot = 3
A dash, followed by a gap, followed by a dot, followed by another gap.
The equivalent dash array for D2D1_DASH_STYLE_DASH_DOT is {2, 2, 0, 2}.
DashDotDot = 4
A dash, followed by a gap, followed by a dot, followed by another gap, followed by another dot, followed by another gap.
The equivalent dash array for D2D1_DASH_STYLE_DASH_DOT_DOT is {2, 2, 0, 2, 0, 2}.
Dot = 2
A dot followed by a longer gap.
The equivalent dash array for D2D1_DASH_STYLE_DOT is {0, 2}.
Solid = 0
A solid line with no breaks.
Remarks
The following illustration shows several available dash styles.