Difference between revisions of "Screen:getSize"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
 
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Screen|Screen]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Return the width and height of the screen</translate>
 
<translate>Return the width and height of the screen</translate>

Revision as of 09:30, 24 August 2018

Available since: Gideros 2017.8
Class: Screen

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