RECT (class)
Jump to navigation
Jump to search
This class (struct) provides fields for a Rectangle.
RECT class | |||
---|---|---|---|
Type | Function/Field | Return values/Value type | Description |
Constructor | myRECT = newRECT() | RECT | Construct a new RECT-Object |
Field | RECT.bottom | long | Bottom-value. |
Field | RECT.left | long | Left-value. |
Field | RECT.right | long | Right-value. |
Field | RECT.top | long | Top-value. |
Example:
local myRect = newRECT()
myRect.top = 0
myRect.left = 0
myRect.bottom = 20
myRect.right = 20
--Do other stuff