Application:getContentWidth: Difference between revisions

From GiderosMobile
mNo edit summary
No edit summary
Line 13: Line 13:
'''Returns''' (number) Logical width or logical height depending on orientation.
'''Returns''' (number) Logical width or logical height depending on orientation.


----
{{Application}}
{{Special:PrefixIndex/Application}}
<br/>
 
{{Special:PrefixIndex/Event.APPLICATION}}

Revision as of 22:50, 2 December 2019

Available since: Gideros 2011.6
Class: Application

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.