Constructors
constructor
- new Rect(x?: number, y?: number, width?: number, height?: number): Rect
-
Parameters
-
Optional x: number
-
Optional y: number
-
Optional width: number
-
Optional height: number
Properties
height
height: number
width
width: number
x
x: number
y
y: number
Static _size
_size: number
Methods
Static _fromPtr
-
Parameters
-
p: number
-
Optional v: Rect
Static _tempHeapPtr
- _tempHeapPtr(v: Rect): number
-
Parameters
Returns number
Static _toPtr
- _toPtr(p: number, v: Rect): void
-
Parameters
Returns void