[−][src]Type Definition conrod_core::position::Point
type Point = [Scalar; 2];
General use 2D spatial point.
Trait Implementations
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.