Difference between revisions of "Application:getScreenDensity"
From GiderosMobile
Line 4: | Line 4: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate><br /> | <translate><br /> | ||
− | Returns the screen density in pixels per inch. If screen density information is not available, returns | + | Returns the screen density in pixels per inch. If screen density information is not available, returns ''nil''.<br /> |
<br /></translate> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Line 10: | Line 10: | ||
</source> | </source> | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
− | '''<translate>Returns</translate>''' (number) <translate>If available returns the screen density in pixels per inch, otherwise returns | + | '''<translate>Returns</translate>''' (number) <translate>If available returns the screen density in pixels per inch, otherwise returns ''nil''.</translate><br/> |
Revision as of 09:35, 24 August 2018
Available since: Gideros 2012.09.2
Class: Application
Description
Returns the screen density in pixels per inch. If screen density information is not available, returns nil.
(number) = Application:getScreenDensity()
Return values
Returns (number) If available returns the screen density in pixels per inch, otherwise returns nil.