Trait lyon_path::iterator::PathIterator

source ·
pub trait PathIterator: Iterator<Item = PathEvent> + Sized {
    // Provided methods
    fn flattened(self, tolerance: f32) -> Flattened<Self>  { ... }
    fn transformed<T: Transformation<f32>>(
        self,
        mat: &T,
    ) -> Transformed<'_, Self, T>  { ... }
}
Expand description

An extension trait for PathEvent iterators.

Provided Methods§

source

fn flattened(self, tolerance: f32) -> Flattened<Self>

Returns an iterator that turns curves into line segments.

source

fn transformed<T: Transformation<f32>>( self, mat: &T, ) -> Transformed<'_, Self, T>

Returns an iterator applying a 2D transform to all of its events.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Iter> PathIterator for Iter
where Iter: Iterator<Item = PathEvent>,