[go: up one dir, main page]

Struct lyon::bezier::CubicBezierSegment []

pub struct CubicBezierSegment {
    pub from: TypedPoint2D<f32, UnknownUnit>,
    pub ctrl1: TypedPoint2D<f32, UnknownUnit>,
    pub ctrl2: TypedPoint2D<f32, UnknownUnit>,
    pub to: TypedPoint2D<f32, UnknownUnit>,
}

Fields

Methods

impl CubicBezierSegment

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

impl Clone for CubicBezierSegment

impl Debug for CubicBezierSegment