RelativeSize

Type Alias RelativeSize 

Source
pub type RelativeSize = Size2D<f64, RelativeSpace>;
Expand description

Relative size.

Aliased Type§

pub struct RelativeSize {
    pub width: f64,
    pub height: f64,
}

Fields§

§width: f64

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

§height: f64

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