Difference between revisions of "Screen:getSize"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2017.8<br/>
 
'''Available since:''' Gideros 2017.8<br/>
 +
'''Class:''' [[Screen]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate>Return the width and height of the screen</translate>
+
Returns the width and height of the screen.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = Screen:getSize()
 
(number), (number) = Screen:getSize()
</source>
+
</syntaxhighlight>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) <translate>The Screen's width</translate><br/>
+
'''Returns''' (number) the screen width<br/>
'''Returns''' (number) <translate>The Screen's height</translate><br/>
+
'''Returns''' (number) the screen height<br/>
 +
 
 +
{{Screen}}

Latest revision as of 14:32, 13 July 2023

Available since: Gideros 2017.8
Class: Screen

Description

Returns the width and height of the screen.

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

Return values

Returns (number) the screen width
Returns (number) the screen height