Table of Contents

Application:getScreenDensity

Available since version: Gideros 2012.09.2

Description:

Returns the screen density in pixels per inch. If screen density information is not available, returns nil.

Syntax:

(number) = Application:getScreenDensity()

Return value:

  • number: If available returns the screen density in pixels per inch, otherwise returns `nil`.