PxDensity2d

Type Alias PxDensity2d 

Source
pub type PxDensity2d = Size2D<PxDensity, PxDensity>;
Expand description

Pixel density value that can differ between dimensions.

Aliased Type§

pub struct PxDensity2d {
    pub width: PxDensity,
    pub height: PxDensity,
}

Fields§

§width: PxDensity

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

§height: PxDensity

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