love.graphics.setBlendMode

love.graphics.setBlendMode Sets the blending mode. Function Synopsis love.graphics.setBlendMode( mode ) Arguments BlendMode mode The blend mode to use. Returns Nothing. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis love.graphics.setBlendMode( mode, alphamode ) Arguments BlendMode mode The blend mode to use. BlendAlphaMode alphamode ("alphamultiply") What to do with the alpha of drawn objects when blending. Returns Nothing. Notes T

love.graphics.setCanvas

love.graphics.setCanvas Available since LÖVE 0.8.0 It has been renamed from love.graphics.setRenderTarget. Captures drawing operations to a Canvas. Function Sets the render target to a specified Canvas. All drawing operations until the next love.graphics.setCanvas call will be redirected to the Canvas and not shown on the screen. Synopsis love.graphics.setCanvas( canvas ) Arguments Canvas canvas The new target. Returns Nothing. Function Resets the render target to the screen, i.e. re-

love.graphics.setCaption

love.graphics.setCaption Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.setTitle. Sets the window caption. Function Synopsis love.graphics.setCaption( caption ) Arguments string caption The new window caption. Returns Nothing. See Also love.graphics

love.graphics.setColor

love.graphics.setColor Sets the color used for drawing. Function Synopsis love.graphics.setColor( red, green, blue, alpha ) Arguments number red The amount of red. number green The amount of green. number blue The amount of blue. number alpha (255) The amount of alpha. The alpha value will be applied to all subsequent draw operations, even the drawing of an image. Returns Nothing. Function Available since LÖVE 0.7.0 This variant is not supported in earlier versions. Synopsis love.gr

love.graphics.setColorMask

love.graphics.setColorMask Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the color mask. Enables or disables specific color components when rendering and clearing the screen. For example, if red is set to false, no further changes will be made to the red component of any pixels. Function Enables color masking for the specified color components. Synopsis love.graphics.setColorMask( red, green, blue, alpha ) Arguments boolean red Render red component.

love.graphics.setColorMode

love.graphics.setColorMode Available since LÖVE 0.2.0 and removed in LÖVE 0.9.0 This function is not supported in earlier or later versions. Sets the color mode (which controls how images are affected by the current color). Function Synopsis love.graphics.setColorMode( mode ) Arguments ColorMode mode The color mode to use. Returns Nothing. See Also love.graphics love.graphics.getColorMode

love.graphics.setDefaultFilter

love.graphics.setDefaultFilter Available since LÖVE 0.9.0 It has been renamed from love.graphics.setDefaultImageFilter. Sets the default scaling filters used with Images, Canvases, and Fonts. Function Synopsis love.graphics.setDefaultFilter( min, mag, anisotropy ) Arguments FilterMode min Filter mode used when scaling the image down. FilterMode mag Filter mode used when scaling the image up. number anisotropy (1) Maximum amount of Anisotropic Filtering used. Returns Nothing. Notes Th

love.graphics.setDefaultImageFilter

love.graphics.setDefaultImageFilter Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been renamed to love.graphics.setDefaultFilter. Sets the default scaling filters. Function Synopsis love.graphics.setDefaultImageFilter( min, mag ) Arguments FilterMode min Filter mode used when scaling the image down. FilterMode mag Filter mode used when scaling the image up. Returns Nothing. Notes This function does not apply retroactively to loaded images. See Also love.graphics love

love.graphics.setFont

love.graphics.setFont Set an already-loaded Font as the current font or create and load a new one from the file and size. It's recommended that Font objects are created with love.graphics.newFont in the loading stage and then passed to this function in the drawing stage. Function Synopsis love.graphics.setFont( font ) Arguments Font font The Font object to use. Returns Nothing. Function Removed in LÖVE 0.8.0 This variant is not supported in that and later versions. Synopsis love.graph

love.graphics.setIcon

love.graphics.setIcon Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.setIcon. Available since LÖVE 0.7.0 This function is not supported in earlier versions. Set window icon. This feature is not completely supported on Windows (apparently an SDL bug, not a LOVE bug: [1]). Function Synopsis love.graphics.setIcon( image ) Arguments Image image The window icon. Returns Nothing. See Also love.graphics