AbsDim

Type Alias AbsDim 

Source
pub type AbsDim = Size2D<f32, Logical>;
Expand description

A 2D dimension (or size) in logical units (display-independent pixels)

Aliased Type§

pub struct AbsDim {
    pub width: f32,
    pub height: f32,
}

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).