Struct lyon_bezier::CubicBezierSegment [] [src]

pub struct CubicBezierSegment {
    pub from: Vec2,
    pub ctrl1: Vec2,
    pub ctrl2: Vec2,
    pub to: Vec2,
}

Fields

Methods

impl CubicBezierSegment
[src]

Split this curve into two sub-curves.

Return the curve before the split point.

Return the curve after the split point.

Returns the flattened representation of the curve as an iterator, starting after the current point.

Iterates through the curve invoking a callback at each point.

Trait Implementations

impl Copy for CubicBezierSegment
[src]

impl Clone for CubicBezierSegment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CubicBezierSegment
[src]

Formats the value using the given formatter.