struct Boleite::Rect(Type)
- Boleite::Rect(Type)
- Struct
- Value
- Object
Defined in:
boleite/math/rect.crConstant Summary
-
TYPE =
Type
Constructors
Instance Method Summary
- #bounds
- #contains?(x, y) : Bool
- #contains?(point) : Bool
- #expand(amount)
- #height
- #height=(height : Type)
- #intersects?(other) : Rect(Type) | Bool
- #left
- #left=(left : Type)
- #merge(rect)
- #merge_relative(rect)
- #shrink(amount)
- #to_f
- #to_f32
- #to_f64
- #to_i
- #to_i16
- #to_i32
- #to_i64
- #to_i8
- #to_u
- #to_u16
- #to_u32
- #to_u64
- #to_u8
- #top
- #top=(top : Type)
- #width
- #width=(width : Type)