[][src]Trait makepad_path::PathIterator

pub trait PathIterator: InternalIterator<Item = PathCommand> {
    fn linearize(self, epsilon: f32) -> Linearize<Self>
    where
        Self: Sized
, { ... } }

An extension trait for iterators over path commands.

Provided methods

fn linearize(self, epsilon: f32) -> Linearize<Self> where
    Self: Sized

Returns an iterator over line path commands that approximate self with tolerance epsilon.

Loading content...

Implementors

impl<I> PathIterator for I where
    I: InternalIterator<Item = PathCommand>, 
[src]

Loading content...