Difference between revisions of "Screen:getMaxSize"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(One intermediate revision by the same user not shown) | |||
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() | ||
− | </ | + | </syntaxhighlight> |
=== Return values === | === Return values === |
Latest revision as of 14:32, 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.
(number), (number) = Screen:getMaxSize()
Return values
Returns (number) the screen maximum width
Returns (number) the screen maximum height