love.window.getTitle

love.window.getTitle Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the window title. Function Synopsis title = love.window.getTitle( ) Arguments None. Returns string title The current window title. See Also love.window love.window.setTitle

love.window.getPosition

love.window.getPosition Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the position of the window on the screen. The window position is in the coordinate space of the display it is currently in. Function Synopsis x, y, display = love.window.getPosition( ) Arguments None. Returns number x The x-coordinate of the window's position. number y The y-coordinate of the window's position. number display The index of the display that the window is in. See

love.window.getPixelScale

love.window.getPixelScale Available since LÖVE 0.9.1 This function is not supported in earlier versions. Gets the DPI scale factor associated with the window. The pixel density inside the window might be greater (or smaller) than the "size" of the window. For example on a retina screen in Mac OS X with the highdpi window flag enabled, the window may take up the same physical size as an 800x600 window, but the area inside the window uses 1600x1200 pixels. love.window.getPixelScale() would r

love.window.getMode

love.window.getMode Available since LÖVE 0.9.0 Moved from love.graphics.getMode. Gets the display mode and properties of the window. Function Synopsis width, height, flags = love.window.getMode( ) Arguments None. Returns number width Window width. number height Window height. table flags Table with the window properties: boolean fullscreen Fullscreen (true), or windowed (false). FullscreenType fullscreentype The type of fullscreen mode used. boolean vsync True if the graphics framer

love.window.getIcon

love.window.getIcon Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the window icon. Function Synopsis imagedata = love.window.getIcon( ) Arguments None. Returns ImageData imagedata The window icon imagedata, or nil if no icon has been set with love.window.setIcon. See Also love.window love.window.setIcon

love.window.getHeight

love.window.getHeight Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 Use love.graphics.getHeight or love.window.getMode instead. Gets the height of the window. Function Synopsis height = love.window.getHeight( ) Arguments None. Returns number height The height of the window. See Also love.window love.window.getWidth love.window.getDimensions love.window.setMode

love.window.getFullscreenModes

love.window.getFullscreenModes Available since LÖVE 0.9.0 Moved from love.graphics.getModes. Gets a list of supported fullscreen modes. Function Synopsis modes = love.window.getFullscreenModes( display ) Arguments number display (1) The index of the display, if multiple monitors are available. Returns table modes A table of width/height pairs. (Note that this may not be in order.) Examples Format of the returned table modes = love.window.getFullscreenModes()   -- modes = { -- { wid

love.window.getFullscreen

love.window.getFullscreen Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether the window is fullscreen. Function Synopsis fullscreen, fstype = love.window.getFullscreen( ) Arguments None. Returns boolean fullscreen True if the window is fullscreen, false otherwise. FullscreenType fstype The type of fullscreen mode used. See Also love.window love.window.setFullscreen love.window.setMode

love.window.getDisplayName

love.window.getDisplayName Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the name of a display. Function Synopsis name = love.window.getDisplayName( displayindex ) Arguments number displayindex (1) The index of the display to get the name of. Returns string name The name of the specified display. See Also love.window love.window.getDisplayCount

love.window.getDisplayCount

love.window.getDisplayCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the number of connected monitors. Function Synopsis count = love.window.getDisplayCount( ) Arguments None. Returns number count The number of currently connected displays. See Also love.window love.window.setMode love.window.getMode love.window.getFullscreenModes love.window.getDesktopDimensions