pub fn dash_pattern_values(stroke: &Stroke) -> Vec<f64>Expand description
Computes a dash pattern array string suitable for Canvas2D setLineDash.
Returns the dash lengths as a Vec<f64>. If the stroke has no dash
pattern, returns an empty vector (which clears any active dash on the
canvas context).