pub struct FormaPathBuilder { /* private fields */ }
Trait Implementations§
Source§impl Debug for FormaPathBuilder
impl Debug for FormaPathBuilder
Source§impl PathBuilder<Forma> for FormaPathBuilder
impl PathBuilder<Forma> for FormaPathBuilder
Source§fn line_to(&mut self, point: Point) -> &mut Self
fn line_to(&mut self, point: Point) -> &mut Self
Create line from end-point to point and update end-point.
Source§fn quad_to(&mut self, p1: Point, p2: Point) -> &mut Self
fn quad_to(&mut self, p1: Point, p2: Point) -> &mut Self
Create quadratic Bézier from end-point to
p2
with p1
as control point.Source§fn cubic_to(&mut self, p1: Point, p2: Point, p3: Point) -> &mut Self
fn cubic_to(&mut self, p1: Point, p2: Point, p3: Point) -> &mut Self
Create cubic Bézier from end-point to
p3
with p1
and p2
as control points.Source§fn rat_quad_to(&mut self, p1: Point, p2: Point, w: f32) -> &mut Self
fn rat_quad_to(&mut self, p1: Point, p2: Point, w: f32) -> &mut Self
Create rational quadratic Bézier from end-point to
p2
with p1
as control point
and w
as its weight.Auto Trait Implementations§
impl Freeze for FormaPathBuilder
impl !RefUnwindSafe for FormaPathBuilder
impl !Send for FormaPathBuilder
impl !Sync for FormaPathBuilder
impl Unpin for FormaPathBuilder
impl !UnwindSafe for FormaPathBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more