Difference between revisions of "Screen:getSize"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.8<br/> === Description === Return the width and height of the screen <source lang="lua"> (number) (number), = Screen:getSize() </...")
 
Line 4: Line 4:
 
Return the width and height of the screen
 
Return the width and height of the screen
 
<source lang="lua">
 
<source lang="lua">
(number) (number), = Screen:getSize()
+
(number), (number) = Screen:getSize()
 
</source>
 
</source>
 
'''Returns''' (number) The Screen's width<br/>
 
'''Returns''' (number) The Screen's width<br/>
 
'''Returns''' (number) The Screen's height<br/>
 
'''Returns''' (number) The Screen's height<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2017.8

Description

Return the width and height of the screen

(number), (number) = Screen:getSize()

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