Difference between revisions of "Application:getContentWidth"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> If the orientation is portrait, this function returns logical width. If the orientation is land...") |
|||
Line 7: | Line 7: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) | + | (number) = Application:getContentWidth() |
</source> | </source> | ||
'''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:21, 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()
Returns (number) Logical width or logical height depending on orientation.