Skip to main content

PortablePoint

Type Alias PortablePoint 

Source
pub type PortablePoint = Point2D<f32>;
Expand description

Portable 2-D point, f32-valued. Typically represents a pointer position or a layout anchor in host-viewport coordinates.

Aliased Type§

pub struct PortablePoint {
    pub x: f32,
    pub y: f32,
    /* private fields */
}

Fields§

§x: f32§y: f32