love.graphics.getFont

love.graphics.getFont Gets the current Font object. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis font = love.graphics.getFont( ) Arguments None. Returns Font font The current Font. Automatically creates and sets the default font, if none is set yet. Function Removed in LÖVE 0.9.0 This variant is not supported in that and later versions. Synopsis font = love.graphics.getFont( ) Arguments None. Returns Font font The current Font, o

love.graphics.getHeight

love.graphics.getHeight Available since LÖVE 0.2.1 This function is not supported in earlier versions. Gets the height in pixels of the window. Function Synopsis height = love.graphics.getHeight( ) Arguments None. Returns number height The height of the window. See Also love.graphics love.graphics.getWidth love.graphics.getDimensions

love.graphics.getLineJoin

love.graphics.getLineJoin Gets the line join style. Function Synopsis join = love.graphics.getLineJoin( ) Arguments Nothing. Returns LineJoin join The LineJoin style. See Also love.graphics love.graphics.setLineJoin

love.graphics.getLineStipple

love.graphics.getLineStipple Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Gets the current line stipple. Function Synopsis pattern, repeat = love.graphics.getLineStipple( ) Arguments None. Returns number pattern The 16-bit stipple pattern. number repeat The repeat factor. See Also love.graphics

love.graphics.getLineStyle

love.graphics.getLineStyle Gets the line style. Function Synopsis style = love.graphics.getLineStyle( ) Arguments None. Returns LineStyle style The current line style. See Also love.graphics love.graphics.setLineStyle

love.graphics.getLineWidth

love.graphics.getLineWidth Gets the current line width. Function Synopsis width = love.graphics.getLineWidth( ) Arguments None. Returns number width The current line width. Notes This function does not work in 0.8.0, but has been fixed in version 0.9.0. Use the following snippet to circumvent this in 0.8.0; love.graphics._getLineWidth = love.graphics.getLineWidth love.graphics._setLineWidth = love.graphics.setLineWidth function love.graphics.getLineWidth() return love.graphics.varlinewidt

love.graphics.getMaxImageSize

love.graphics.getMaxImageSize Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 Use love.graphics.getSystemLimits instead. Gets the max supported width or height of Images and Canvases. Attempting to create an Image with a width *or* height greater than this number will create a checkerboard-patterned image instead. Doing the same for a canvas will result in an error. The returned number depends on the system running the code. It is safe to assume it will never be less than 1024 and w

love.graphics.getMaxPointSize

love.graphics.getMaxPointSize Removed in LÖVE 0.10.0 Use love.graphics.getSystemLimits instead. Gets the max supported point size. Function Synopsis size = love.graphics.getMaxPointSize( ) Arguments None. Returns number size The max supported point size. Examples Draws a point at the maximum supported size. function love.draw() local max = love.graphics.getMaxPointSize(); love.graphics.setPointSize(max); love.graphics.point(100, 100); end See Also love.graphics love.gra

love.graphics.getMode

love.graphics.getMode Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 Moved to the love.window module as love.window.getMode. Returns the current display mode. Function Synopsis width, height, fullscreen, vsync, fsaa = love.graphics.getMode( ) Arguments None. Returns number width Display width. number height Display height. boolean fullscreen Fullscreen (true) or windowed (false). boolean vsync True if vertical sync is enabled or false if disabled. number fsaa The number of FSAA

love.graphics.getModes

love.graphics.getModes Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.getFullscreenModes. Gets a list of supported fullscreen modes. Function Synopsis modes = love.graphics.getModes( ) Arguments None. 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.graphics.getModes()   -- modes = { -- { width = 320, height = 240 }, -- { width = 640, height = 480 }, -- { width = 800, he