Defines the Size Supercomponent.
| Size | Defines the Size Supercomponent. |
| Functions | |
| new | |
| New Size | A Supercomponent used only within Frames to manage space. |
| Variables | |
| dims | Contains the user-defined dimensions of the Frame. |
| abs_dims | Contains the Frame’s generated, window dimensions. |
| content_dims | Contains the Frame’s generated, Content Rectangle dimensions. |
| Functions | |
| updateAbsolute | Generates the absolute dimensions (abs_dims) of the Frame. |
| Properties | |
| Size Properties |
A Supercomponent used only within Frames to manage space. Only used internally. Should not be exposed.
| Variables | |
| dims | Contains the user-defined dimensions of the Frame. |
| abs_dims | Contains the Frame’s generated, window dimensions. |
| content_dims | Contains the Frame’s generated, Content Rectangle dimensions. |
| Functions | |
| updateAbsolute | Generates the absolute dimensions (abs_dims) of the Frame. |
| Properties | |
| Size Properties |
local dims
Contains the user-defined dimensions of the Frame.
local abs_dims
Contains the Frame’s generated, window dimensions.
local content_dims
Contains the Frame’s generated, Content Rectangle dimensions.
local function updateAbsolute ()
Generates the absolute dimensions (abs_dims) of the Frame. Also generates content dimensions content_dims.
| Dimensions | Gets and sets the relative (user-defined) dimensions (dims) of the Frame. |
| Absolute | Returns the absolute dimensions (abs_dims) of the Frame. |
| Content | Returns dimensions of the Content Rectangle (content_dims). |
| Width | Gets and sets the relative width of the Frame. |
| Height | Gets and sets the relative height of the Frame. |
| AbsoluteWidth | Returns the absolute width of the Frame. |
| AbsoluteHeight | Returns the absolute height of the Frame. |
| ContentWidth | Returns the width of the Content Rectangle. |
| ContentHeight | Returns the height of the Content Rectangle. |
local function new ( _, frame, init_width, init_height, is_first )
Contains the user-defined dimensions of the Frame.
local dims
Contains the Frame’s generated, window dimensions.
local abs_dims
Contains the Frame’s generated, Content Rectangle dimensions.
local content_dims
Generates the absolute dimensions (abs_dims) of the Frame.
local function updateAbsolute ()