Screen:getMaxSize

From GiderosMobile
Revision as of 15:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

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