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