Skip to main content

subpaths

Function subpaths 

Source
fn subpaths(path: &Path, flatten_tolerance: f32) -> Vec<Vec<Vec2>>
Expand description

Decompose a Path into closed polylines, one per MoveTo-rooted subpath. Open subpaths (without Close) are silently dropped — boolean ops are only meaningful on closed regions.