Difference between revisions of "Screen:getMaxSize"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.8<br/> === Description === Returns the maximum size this screen can have, typically the display size for a windowed system. <sour...")
 
Line 4: Line 4:
 
Returns the maximum size this screen can have, typically the display size for a windowed system.
 
Returns the maximum size this screen can have, typically the display size for a windowed system.
 
<source lang="lua">
 
<source lang="lua">
(number) (number), = Screen:getMaxSize()
+
(number), (number) = Screen:getMaxSize()
 
</source>
 
</source>
 
'''Returns''' (number) The Screen's maximum width<br/>
 
'''Returns''' (number) The Screen's maximum width<br/>
 
'''Returns''' (number) The Screen's maximum height<br/>
 
'''Returns''' (number) The Screen's maximum height<br/>

Revision as of 10:11, 23 August 2018

Available since: Gideros 2017.8

Description

Returns the maximum size this screen can have, typically the display size for a windowed system.

(number), (number) = Screen:getMaxSize()

Returns (number) The Screen's maximum width
Returns (number) The Screen's maximum height