package raylib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Raylib_core.RectangleSource

Sourcetype 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