[−][src]Function lyon_tessellation::basic_shapes::stroke_polyline
pub fn stroke_polyline<Iter>(
it: Iter,
is_closed: bool,
options: &StrokeOptions,
output: &mut dyn GeometryBuilder<StrokeVertex>
) -> TessellationResult where
Iter: Iterator<Item = Point>,
Tessellate the stroke for a shape that is described by an iterator of points.
Convenient when tessellating a shape that is represented as a slice &[Point]
.