package raylib

  1. Overview
  2. Docs
type t = t' ctyp
val create : float -> float -> float -> float -> t

create x y width height creates a rectangle with given dimensions.

val x : t -> float
val y : t -> float
val width : t -> float
val height : t -> float
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.