Difference between revisions of "love.window.getDesktopDimensions"

(Created page)
 
(No difference)

Revision as of 00:50, 26 August 2013

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets the width and height of the desktop.

Function

Synopsis

width, height = love.window.getDesktopDimensions( display )

Arguments

number display (1)
The index of the display.

Returns

number width
The width of the desktop.
number height
The height of the desktop.

See Also

Other Languages