carnelian::geometry

Type Alias IntSize

Source
pub type IntSize = Size2D<IntCoord>;
Expand description

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

Aliased Type§

struct IntSize {
    pub width: i32,
    pub height: i32,
}

Fields§

§width: i32

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

§height: i32

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