Type Alias webrender_api::units::PictureSize

source ·
pub type PictureSize = Size2D<f32, PicturePixel>;

Aliased Type§

struct PictureSize {
    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).