Class Rectangle
Tables
rectangle.instance |
Methods
rectangle:new (x, y, width, height) |
Metamethods
rectangle:__data () | |
rectangle:__tostring () |
Tables
Methods
- rectangle:new (x, y, width, height)
-
Parameters:
- x number [0, ∞)
- y number [0, ∞)
- width number [0, ∞)
- height number [0, ∞)
Returns:
Metamethods
- rectangle:__data ()
-
Returns:
-
tab
table with instance fields
(see the luaserialization library)
- rectangle:__tostring ()
-
Returns:
-
string
stringified table with instance fields
(see the luaserialization library)