Function add_stroke

Source
fn add_stroke(path: &mut Path, pts: &[[f32; 2]], closed: bool, half: f32)
Expand description

Thick polyline in layer px: one quad per segment plus a disc at every vertex (round caps/joins).