Difference between revisions of "Application:getLogicalBounds"

From GiderosMobile
m
Line 6: Line 6:
  
 
<source lang="lua">
 
<source lang="lua">
(number), (number), (number), (number) = application:getLogicalBounds()
+
(minX), (minY), (maxX), (maxY) = application:getLogicalBounds()
 
</source>
 
</source>
  
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) Minimum x<br/>
+
'''Returns number''' (minX) Minimum x<br/>
'''Returns''' (number) Minimum y<br/>
+
'''Returns number''' (minY) Minimum y<br/>
'''Returns''' (number) Maximum x<br/>
+
'''Returns number''' (maxX) Maximum x<br/>
'''Returns''' (number) Maximum y<br/>
+
'''Returns number''' (maxY) Maximum y<br/>
  
 
{{Application}}
 
{{Application}}

Revision as of 00:45, 11 December 2019

Available since: Gideros 2017.11.3
Class: Application

Description

Returns the minimum and maximum logical space coordinates to cover full screen.

(minX), (minY), (maxX), (maxY) = application:getLogicalBounds()

Return values

Returns number (minX) Minimum x
Returns number (minY) Minimum y
Returns number (maxX) Maximum x
Returns number (maxY) Maximum y