height

Rectangle height (max.y - min.y).

Examples

# use bevy_math::IRect;
let r = IRect::new(0, 0, 5, 1); // w=5 h=1
assert_eq!(r.height(), 1);

Arguments

  • _self : IRect - No Documentation 🚧

Returns

  • arg0 : i32 - No Documentation 🚧