Rect Class Reference
| Inherits from | JavaScript Object |
| Location | aphid.core.Rect |
Overview of Tasks
Attributes
- Type
-
float -
Point -
Size -
float -
float -
float
- Writability
-
readwrite -
readwrite -
readwrite -
readwrite -
readwrite -
readwrite
Functions
- Signature
-
copy() -
equals(r) -
setXYWH(x, y, w, h) -
toString()
- Return Type
-
Rect -
bool -
void -
string
Class Attributes
- Name
-
zero
- Type
-
Rect
- Writability
-
readonly
Constructors
Rect(x, y, width, height)
new Rect(float x, float y, float width, float height)Parameters
floatx
floaty
floatwidth
floatheight