Difference between revisions of "Screen:getMaxSize"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2017.8<br/>
+
'''Available since:''' Gideros 2017.8<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Screen]]<br/>
<translate>Returns the maximum size this screen can have, typically the display size for a windowed system.</translate>
+
 
<source lang="lua">
+
=== Description ===
 +
Returns the maximum size the screen can have, typically the display size for a windowed system.
 +
<syntaxhighlight lang="lua">
 
(number), (number) = Screen:getMaxSize()
 
(number), (number) = Screen:getMaxSize()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>The Screen's maximum width</translate><br/>
+
=== Return values ===
'''<translate>Returns</translate>''' (number) <translate>The Screen's maximum height</translate><br/>
+
'''Returns''' (number) the screen maximum width<br/>
 +
'''Returns''' (number) the screen maximum height<br/>
 +
 
 +
{{Screen}}

Latest revision as of 15:32, 13 July 2023

Available since: Gideros 2017.8
Class: Screen

Description

Returns the maximum size the screen can have, typically the display size for a windowed system.

(number), (number) = Screen:getMaxSize()

Return values

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