pub type Size2D = Size2D<f64>;Expand description
A two-dimensional size with f64 extents and unknown units.
§Examples
assert_eq!(cel_euclid::Size2D::default(), cel_euclid::Size2D::zero());Aliased Type§
pub struct Size2D {
pub width: f64,
pub height: f64,
/* private fields */
}Fields§
§width: f64The extent of the element in the U units along the x axis (usually horizontal).
height: f64The extent of the element in the U units along the y axis (usually vertical).