Module Raylib.Rectangle

type t = t' ctyp
val t : t Ctypes.typ
val create : float -> float -> float -> float -> t

create x y width height

val x : t -> float

Rectangle top-left corner position x

val y : t -> float

Rectangle top-left corner position y

val width : t -> float

Rectangle width

val height : t -> float

Rectangle height

val set_x : t -> float -> unit
val set_y : t -> float -> unit
val set_width : t -> float -> unit
val set_height : t -> float -> unit