[][src]Type Definition conrod_core::position::Point

type Point = [Scalar; 2];

General use 2D spatial point.

Trait Implementations

impl Vertex for Point[src]

impl EnvelopePoint for Point[src]

type X = Scalar

A value on the X-axis of the envelope.

type Y = Scalar

A value on the Y-axis of the envelope.

fn get_x(&self) -> Scalar[src]

Return the X value.

fn get_y(&self) -> Scalar[src]

Return the Y value.

fn set_x(&mut self, x: Scalar)[src]

Return the X value.

fn set_y(&mut self, y: Scalar)[src]

Return the Y value.

fn new(x: Scalar, y: Scalar) -> Point[src]

Create a new Envelope Point.

fn get_curve(&self) -> f32[src]

Return the bezier curve depth (-1. to 1.) for the next interpolation.

fn set_curve(&mut self, _curve: f32)[src]

Set the bezier curve depth (-1. to 1.) for the next interpolation.