FigureNodeStrokeDashPattern Property |
Namespace: DigitalRune.Graphics.SceneGraph
The dash pattern is defined as a 4 component vector: (dash, gap, dash, gap). The length of a dash or a gap is relative to the StrokeThickness. For example, (5, 1, 1, 1) defines a dash pattern with a 5 unit dash, a 1 unit gap, a 1 unit dash followed by a 1 unit gap, then the pattern is repeated.
To render a solid line, set the gap components to 0, e.g. (1, 0, 0, 0).
The property DashInWorldSpace determines if the dash/gap size is in pixels or in world space units and whether perspective foreshortening is applied.