Struct lyon::path_iterator::Flattened
[−]
[src]
pub struct Flattened<Iter> { /* fields omitted */ }
An iterator that consumes an PathIterator and yields FlattenedEvents.
Methods
impl<Iter> Flattened<Iter> where
Iter: PathIterator,
[src]
Iter: PathIterator,
Trait Implementations
impl<Iter> FlattenedIterator for Flattened<Iter> where
Iter: PathIterator,
[src]
Iter: PathIterator,
fn get_state(&self) -> &PathState
[src]
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
fn path_events(self) -> Map<Self, fn(FlattenedEvent) -> PathEvent>
[src]
Returns an iterator of path events.
fn svg_events(self) -> Map<Self, fn(FlattenedEvent) -> SvgEvent>
[src]
Returns an iterator of svg events.
impl<Iter> Iterator for Flattened<Iter> where
Iter: PathIterator,
[src]
Iter: PathIterator,