Click or drag to resize
CanvasDashStyle Enumeration
Describes the sequence of dashes, dots, and gaps in a stroke style.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public enum CanvasDashStyle
Members
  Member nameValueDescription
Solid0A solid line with no breaks.
Dash1A dash followed by a gap of equal length. The dash and the gap are each twice as long as the stroke thickness. The equivalent custom dash style is { 2, 2 }.
Dot2A dot followed by a longer gap. The equivalent custom dash style is { 0, 2 }.
DashDot3A dash, followed by a gap, followed by a dot, followed by another gap. The equivalent custom dash style is { 2, 2, 0, 2 }.
DashDotDot4A dash, followed by a gap, followed by a dot, followed by another gap, followed by another dot, followed by another gap. The equivalent custom dash style is { 2, 2, 0, 2, 0, 2 }.
Remarks
If a dash style contains a dash which is zero-length, that dash will only be visible with non-Flat dash caps.
See Also