Difference between revisions of "Application:getContentHeight"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
If the orientation is portrait, this function returns logical height. If the orientation is landscape, this function<br />
 
If the orientation is portrait, this function returns logical height. If the orientation is landscape, this function<br />
 
returns logical width.<br />
 
returns logical width.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = Application:getContentHeight()
 
(number) = Application:getContentHeight()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) Logical width or logical height depending on orientation.<br/>
+
'''Returns''' (number) <translate>Logical width or logical height depending on orientation.</translate><br/>

Revision as of 14:34, 23 August 2018

Available since: Gideros 2011.6

Description


If the orientation is portrait, this function returns logical height. If the orientation is landscape, this function
returns logical width.

(number) = Application:getContentHeight()

Return values

Returns (number) Logical width or logical height depending on orientation.