Struct lyon::path_iterator::FlatteningIter [] [src]

pub struct FlatteningIter<Iter> { /* fields omitted */ }

An iterator that consumes an PathIterator and yields FlattenedEvents.

Methods

impl<Iter> FlatteningIter<Iter> where Iter: PathIterator

Create the iterator.

Trait Implementations

impl<Iter> Iterator for FlatteningIter<Iter> where Iter: PathIterator

impl<Iter> FlattenedIterator for FlatteningIter<Iter> where Iter: PathIterator

The returned structure exposes the current position, the first position in the current sub-path, and the position of the last control point. Read more

Returns an iterator of path events.

Returns an iterator of svg events.