Application:getContentWidth: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
=== Description === | === <translate>Description</translate> === | ||
<translate><br /> | <translate><br /> | ||
If the orientation is portrait, this function returns logical width. If the orientation is landscape, this function<br /> | If the orientation is portrait, this function returns logical width. If the orientation is landscape, this function<br /> | ||
| Line 9: | Line 9: | ||
(number) = Application:getContentWidth() | (number) = Application:getContentWidth() | ||
</source> | </source> | ||
=== Return values === | === <translate>Return values</translate> === | ||
'''Returns''' (number) <translate>Logical width or logical height depending on orientation.</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>Logical width or logical height depending on orientation.</translate><br/> | ||
Revision as of 06:28, 24 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.