File hp/display/Resizable.lua
Functions
M:isResizable () | Function indicating that it is possible to resize. |
M:setHeight (height) | Set the height |
M:setSize (width, height) | Set the height and width. If the argument is not set the size of the texture will be set. |
M:setWidth (width) | Set the width. |
Tables
Resizable | Is the module object can be resized to be implemented. TODO:In the future, there is likely to change in order to unify the origin of the position. |
Functions
- M:isResizable ()
-
Function indicating that it is possible to resize.
Return value:
true - M:setHeight (height)
-
Set the height
Parameters
- height: height
- M:setSize (width, height)
-
Set the height and width.
If the argument is not set the size of the texture will be set. TODO:In the future, there is likely to change in order to unify the origin of the position.Parameters
- width: width
- height: height
- M:setWidth (width)
-
Set the width.
Parameters
- width: width