Application:getDeviceHeight: Difference between revisions

From GiderosMobile
No edit summary
prefixindex
Line 1: Line 1:
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
<languages />
'''Class:''' [[Application|Application]]<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/>
=== Description ===
=== <translate>Description</translate> ===
Returns the physical height of the device in pixels. For example, for iPhone 3GS this function returns 480 and for iPhone 4 (with retina display enabled) this function returns 960.
<translate><br />
<br/>
Returns the physical height of the device in pixels. For example,<br />
 
for iPhone 3GS this function returns 480 and for iPhone 4 (with retina display enabled) this function returns 960.<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
(number) = application:getDeviceHeight()
(number) = application:getDeviceHeight()
</source>
</source>
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (number) <translate>The physical height of the device in pixels</translate><br/>
=== Return values ===
'''Returns''' (number) The physical height of the device in pixels
 
----
{{Special:PrefixIndex/Application}}
<br/>
 
{{Special:PrefixIndex/Event.APPLICATION}}

Revision as of 11:25, 2 December 2019

Available since: Gideros 2011.6
Class: Application

Description

Returns the physical height of the device in pixels. For example, for iPhone 3GS this function returns 480 and for iPhone 4 (with retina display enabled) this function returns 960.

(number) = application:getDeviceHeight()

Return values

Returns (number) The physical height of the device in pixels