Difference between revisions of "Application:getContentWidth"

From GiderosMobile
m
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 00:50, 3 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.