Type Alias FloatRect

Source
pub type FloatRect = Rect<f32>;
Expand description

A Rect of f32.

Aliased Type§

struct FloatRect {
    pub left: f32,
    pub top: f32,
    pub width: f32,
    pub height: f32,
}

Fields§

§left: f32

Left coordinate of the rectangle.

§top: f32

Top coordinate of the rectangle.

§width: f32

Width of the rectangle.

§height: f32

Height of the rectangle.