Difference between revisions of "Screen:getSize"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2017.8<br/>
+
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>Return the width and height of the screen</translate>
 
<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 ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>The Screen's width</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The Screen's width</translate><br/>
'''Returns''' (number) <translate>The Screen's height</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The Screen's height</translate><br/>

Revision as of 07:28, 24 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