Screen:getMaxSize: Difference between revisions
From GiderosMobile
No edit summary |
m Text replacement - "<source" to "<syntaxhighlight" |
||
| Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns the maximum size the screen can have, typically the display size for a windowed system. | Returns the maximum size the screen can have, typically the display size for a windowed system. | ||
< | <syntaxhighlight lang="lua"> | ||
(number), (number) = Screen:getMaxSize() | (number), (number) = Screen:getMaxSize() | ||
</source> | </source> | ||
Revision as of 13:30, 13 July 2023
Available since: Gideros 2017.8
Class: Screen
Description
Returns the maximum size the screen can have, typically the display size for a windowed system. <syntaxhighlight lang="lua"> (number), (number) = Screen:getMaxSize() </source>
Return values
Returns (number) the screen maximum width
Returns (number) the screen maximum height