Struct spline::curve::bezier::Cubic
[−]
[src]
pub struct Cubic { // some fields omitted }
A cubic Bézier curve.
Methods
impl Cubic
[src]
fn new(x0: f64, y0: f64, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64) -> Cubic
Create a curve.
fn trace<'l>(&'l self, steps: usize) -> Trace<'l, Self>
Start tracing the curve.
Trait Implementations
impl Debug for Cubic
[src]
impl Copy for Cubic
[src]
impl Clone for Cubic
[src]
fn clone(&self) -> Cubic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more