[−][src]Trait lyon_path::iterator::FlattenedIterator
An extension to the common Iterator interface, that adds information which is useful when chaining path-specific iterators.
Required methods
fn get_state(&self) -> &PathState
The returned structure exposes the current position, the first position in the current sub-path, and the position of the last control point.
Provided methods
fn path_events(self) -> Map<Self, fn(_: FlattenedEvent) -> PathEvent>
Returns an iterator of path events.
fn svg_events(self) -> Map<Self, fn(_: FlattenedEvent) -> SvgEvent>
Returns an iterator of svg events.
ⓘImportant traits for Transformed<I>fn transformed(self, mat: &Transform2D) -> Transformed<Self>
ⓘImportant traits for Transformed<I>
Returns an iterator applying a 2D transform to all of its events.
Implementors
impl<Iter> FlattenedIterator for Flattened<Iter> where
Iter: PathIterator,
[src]
Iter: PathIterator,