package raylib

  1. Overview
  2. Docs

Module Raylib.RectangleSource

Sourcetype t' = Raylib_fixed_types.Rectangle.t
Sourcetype t = t' ctyp
Sourceval t : t Ctypes.typ
Sourceval create : float -> float -> float -> float -> t

create x y width height

Sourceval x : t -> float

Rectangle top-left corner position x

Sourceval y : t -> float

Rectangle top-left corner position y

Sourceval width : t -> float

Rectangle width

Sourceval height : t -> float

Rectangle height

Sourceval set_x : t -> float -> unit
Sourceval set_y : t -> float -> unit
Sourceval set_width : t -> float -> unit
Sourceval set_height : t -> float -> unit
OCaml

Innovation. Community. Security.