carnelian::geometry

Type Alias Size

Source
pub type Size = Size2D<Coord>;
Expand description

A type representing the extent of an element in two-dimensionals.

Aliased Type§

struct Size {
    pub width: f32,
    pub height: f32,
}

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).