Difference between revisions of "Screen:getSize"

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

Revision as of 13:38, 23 August 2018

Available since: Gideros 2017.8

Description

Return the width and height of the screen

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

Return values

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