Type Alias kludgine::shapes::ControlPoint

source ·
pub type ControlPoint<Unit> = Point<Unit>;
Expand description

A control point used to create curves.

Aliased Type§

struct ControlPoint<Unit> {
    pub x: Unit,
    pub y: Unit,
}

Fields§

§x: Unit

The x-axis component.

§y: Unit

The y-axis component