Difference between revisions of "Application:getLogicalBounds"

From GiderosMobile
m
Line 6: Line 6:
  
 
<source lang="lua">
 
<source lang="lua">
(minX), (minY), (maxX), (maxY) = application:getLogicalBounds()
+
minX, minY, maxX, maxY = application:getLogicalBounds()
 
</source>
 
</source>
  

Revision as of 00:46, 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