| x | number | Rectangle's left position. |
| y |
number | Rectangle's top position. |
| width | number | Rectangle's width. |
| height | number | Rectangle's height. |
| rt | rect | The rectangle object to combine. |
| none |
| rt | rect | The rectangle object to clip the object. |
| none |
| x |
number/nil | Initial x coordinate for the rect object. |
| y |
number/nil | Initial y coordinate for the rect object. |
| width | number/nil | Initial width dimension for the rect object. |
| height | number/nil | Initial height dimension for the rect object. |
| object | rect | The instantiated rect object. |
local rt = rect:new ()
| x |
number | x coordinate of point to test. |
| y |
number | y coordinate of point to test. |
| result | boolean | true if the rectangle object contains the given point, false if not. |
| rt | rect | The rect object to copy. |
| none |
| none |
| none |
| none |
| result |
boolean | true if the rectangle is empty, false if not. |
| x |
number | Offset value for the x coordinate. |
| y |
number | Offset value for the y coordinate. |
| none |
| rt | rect | The rectangle object to test. |
| result | boolean | true if overlaps, false if not. |
| none |
| x |
number | Rectangle's x coordinate. |
| y |
number | Rectangle's y coordinate. |
| width | number | Rectangle's width dimension. |
| height | number | Rectangle's height dimension. |