Application:getScreenDensity

From GiderosMobile
Revision as of 16:58, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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