Rectf

Type Alias Rectf 

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

Single-precision rectangle.

Aliased Type§

#[repr(C)]
pub struct Rectf { pub x: f32, pub y: f32, pub width: f32, pub height: f32, }

Fields§

§x: f32

X coordinate of the top-left corner.

§y: f32

Y coordinate of the top-left corner.

§width: f32

Rectangle width.

§height: f32

Rectangle height.