Difference between revisions of "Application:getContentWidth"

From GiderosMobile
Line 9: Line 9:
 
(number) = Application:getContentWidth()
 
(number) = Application:getContentWidth()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) Logical width or logical height depending on orientation.<br/>
 
'''Returns''' (number) Logical width or logical height depending on orientation.<br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2011.6

Description


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

(number) = Application:getContentWidth()

Return values

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