package raylib

  1. Overview
  2. Docs
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
OCaml

Innovation. Community. Security.