Difference between revisions of "Screen:getMaxSize"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2017.8<br/> === Description === Returns the maximum size this screen can have, typically the display size for a windowed system. <sour...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 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 ===
Returns the maximum size this screen can have, typically the display size for a windowed system.
+
Returns the maximum size the screen can have, typically the display size for a windowed system.
<source lang="lua">
+
<syntaxhighlight lang="lua">
(number) (number), = Screen:getMaxSize()
+
(number), (number) = Screen:getMaxSize()
</source>
+
</syntaxhighlight>
'''Returns''' (number) The Screen's maximum width<br/>
+
 
'''Returns''' (number) The Screen's maximum height<br/>
+
=== Return values ===
 +
'''Returns''' (number) the screen maximum width<br/>
 +
'''Returns''' (number) the screen maximum height<br/>
 +
 
 +
{{Screen}}

Latest revision as of 14: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