pub type PixelsSize = Size2D<f64, Pixels>;
Expand description
A size expressed in Pixels
Aliased Type§
struct PixelsSize {
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).