Skip to main content

PortableSize

Type Alias PortableSize 

Source
pub type PortableSize = Size2D<f32>;
Expand description

Portable 2-D size (width × height), f32-valued. Typically represents a viewport or pane extent in host-viewport coordinates.

Aliased Type§

pub struct PortableSize {
    pub width: f32,
    pub height: f32,
    /* private fields */
}

Fields§

§width: f32

The extent of the element in the U units along the x axis (usually horizontal).

§height: f32

The extent of the element in the U units along the y axis (usually vertical).