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.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.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.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.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.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.getDimensions

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

love.graphics.getDefaultImageFilter

love.graphics.getDefaultImageFilter Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been renamed to love.graphics.getDefaultFilter. Returns the default scaling filters. Function Synopsis min, mag = love.graphics.getDefaultImageFilter( ) Arguments None. Returns FilterMode min Filter mode used when scaling the image down. FilterMode mag Filter mode used when scaling the image up. See Also love.graphics love.graphics.setDefaultImageFilter

love.graphics.getDefaultFilter

love.graphics.getDefaultFilter Available since LÖVE 0.9.0 It has been renamed from love.graphics.getDefaultImageFilter. Returns the default scaling filters used with Images, Canvases, and Fonts. Function Synopsis min, mag, anisotropy = love.graphics.getDefaultFilter( ) Arguments None. Returns FilterMode min Filter mode used when scaling the image down. FilterMode mag Filter mode used when scaling the image up. number anisotropy Maximum amount of Anisotropic Filtering used. See Also

love.graphics.getCompressedImageFormats

love.graphics.getCompressedImageFormats Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the available compressed image formats, and whether each is supported. Function Synopsis formats = love.graphics.getCompressedImageFormats( ) Arguments None. Returns table formats A table containing CompressedImageFormats as keys, and a boolean indicating whether the format is supported as values. Not all systems support all formats. Examples Display a list of the