[−][src]Struct lyon_algorithms::walk::PathWalker
A helper struct to walk along a flattened path using a builder API.
Implementations
impl<'l> PathWalker<'l>
[src]
pub fn new(start: f32, pattern: &'l mut dyn Pattern) -> PathWalker<'l>
[src]
Trait Implementations
impl<'l> FlatPathBuilder for PathWalker<'l>
[src]
fn move_to(&mut self, to: Point)
[src]
fn line_to(&mut self, to: Point)
[src]
fn close(&mut self)
[src]
fn current_position(&self) -> Point
[src]
fn flattened(self, tolerance: f32) -> FlatteningBuilder<Self>
[src]
impl<'l> PathBuilder for PathWalker<'l>
[src]
fn quadratic_bezier_to(&mut self, ctrl: Point, to: Point)
[src]
fn cubic_bezier_to(&mut self, ctrl1: Point, ctrl2: Point, to: Point)
[src]
fn arc(
&mut self,
center: Point,
radii: Vector,
sweep_angle: Angle,
x_rotation: Angle
)
[src]
&mut self,
center: Point,
radii: Vector,
sweep_angle: Angle,
x_rotation: Angle
)
fn path_event(
&mut self,
event: Event<Point2D<f32, UnknownUnit>, Point2D<f32, UnknownUnit>>
)
[src]
&mut self,
event: Event<Point2D<f32, UnknownUnit>, Point2D<f32, UnknownUnit>>
)
fn with_svg(self) -> SvgPathBuilder<Self>
[src]
impl<'l> PolygonBuilder for PathWalker<'l>
[src]
Auto Trait Implementations
impl<'l> !RefUnwindSafe for PathWalker<'l>
impl<'l> !Send for PathWalker<'l>
impl<'l> !Sync for PathWalker<'l>
impl<'l> Unpin for PathWalker<'l>
impl<'l> !UnwindSafe for PathWalker<'l>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,