Function new
pub fn new(intervals: &[f32], phase: f32) -> Option<RCHandle<SkPathEffect>>Expand description
Dashes the path by copying it with the specified intervals.
intervalsarray containing an even number of entries (>=2), with the even indices specifying the length of “on” intervals, and the odd indices specifying the length of “off” intervalsphaseoffset into the intervals array (mod the sum of all of the intervals)
Note: only affects stroked paths.