[−][src]Trait lyon_path::iterator::SvgIterator
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
ⓘImportant traits for Flattened<Iter>fn flattened(self, tolerance: f32) -> Flattened<PathEvents<Self>>
ⓘImportant traits for Flattened<Iter>
Returns an iterator of FlattenedEvents, turning curves into sequences of line segments.
ⓘImportant traits for PathEvents<SvgIter>fn path_events(self) -> PathEvents<Self>
ⓘImportant traits for PathEvents<SvgIter>
Returns an iterator of path events.
Implementors
impl<E, Iter> SvgIterator for SvgPathIter<Iter> where
E: Into<SvgEvent>,
Iter: Iterator<Item = E>,
[src]
E: Into<SvgEvent>,
Iter: Iterator<Item = E>,