Function flo_canvas::path_to_dashed_lines
source · pub fn path_to_dashed_lines<PathIn, PathOut, DashPattern>(
path_in: &PathIn,
dash_pattern: DashPattern,
pattern_offset: f64
) -> Vec<PathOut>where
PathIn: BezierPath,
PathOut: BezierPathFactory<Point = PathIn::Point>,
DashPattern: Iterator<Item = f64>,
Expand description
Converts a bezier path to a set of paths by a dash patter