Enum DashStyle
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
Describes the sequence of dashes and gaps in a stroke.
D2D1_DASH_STYLE
public enum DashStyle
Fields
Solid = 0
A solid line with no breaks.
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 is {2, 2}.Dot = 2
A dot followed by a longer gap.
The equivalent dash array is {0, 2}.DashDot = 3
A dash, followed by a gap, followed by a dot, followed by another gap.
The equivalent dash array 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 is {2, 2, 0, 2, 0, 2}.Custom = 5
The dash pattern is specified by an array of floating-point values.