love.graphics.getColorMask

love.graphics.getColorMask Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the active color components used when drawing. Normally all 4 components are active unless love.graphics.setColorMask has been used. The color mask determines whether individual components of the colors of drawn objects will affect the color of the screen. They affect love.graphics.clear and Canvas:clear as well. Function Synopsis r, g, b, a = love.graphics.getColorMask( ) Argume

love.graphics.getColor

love.graphics.getColor Gets the current color. Function Synopsis r, g, b, a = love.graphics.getColor( ) Arguments None. Returns number r The red component (0-255). number g The green component (0-255). number b The blue component (0-255). number a The alpha component (0-255). See Also love.graphics

love.graphics.getCaption

love.graphics.getCaption Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.getTitle. Gets the window caption. Function Synopsis caption = love.graphics.getCaption( ) Arguments None. Returns string caption The current window caption. See Also love.graphics love.graphics.setCaption

love.graphics.getCanvasFormats

love.graphics.getCanvasFormats Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the available Canvas formats, and whether each is supported. Function Synopsis formats = love.graphics.getCanvasFormats( ) Arguments None. Returns table formats A table containing CanvasFormats as keys, and a boolean indicating whether the format is supported as values. Not all systems support all formats. Examples Create a canvas with the format 'rgba16f' if it is support

love.graphics.getCanvas

love.graphics.getCanvas Available since LÖVE 0.8.0 This function is not supported in earlier versions. Gets the current target Canvas. Function Synopsis canvas = love.graphics.getCanvas( ) Arguments None. Returns Canvas canvas The Canvas set by setCanvas. Returns nil if drawing to the real screen. See Also love.graphics Canvas love.graphics.setCanvas

love.graphics.getBlendMode

love.graphics.getBlendMode Gets the blending mode. Function Available since LÖVE 0.10.0 This variant is not supported in earlier versions. Synopsis mode, alphamode = love.graphics.getBlendMode( ) Arguments None. Returns BlendMode mode The current blend mode. BlendAlphaMode alphamode The current blend alpha mode – it determines how the alpha of drawn objects affects blending. Function Removed in LÖVE 0.10.0 This variant is not supported in that and later versions. Synopsis mode = l

love.graphics.getBackgroundColor

love.graphics.getBackgroundColor Gets the current background color. Function Synopsis r, g, b, a = love.graphics.getBackgroundColor( ) Arguments None. Returns number r The red component (0-255). number g The green component (0-255). number b The blue component (0-255). number a The alpha component (0-255). See Also love.graphics love.graphics.setBackgroundColor

love.graphics.ellipse

love.graphics.ellipse Available since LÖVE 0.10.0 This function is not supported in earlier versions. Draws an ellipse. Function Synopsis love.graphics.ellipse( mode, x, y, radiusx, radiusy ) Arguments DrawMode mode How to draw the ellipse. number x The position of the center along x-axis. number y The position of the center along y-axis. number radiusx The radius of the ellipse along the x-axis (half the ellipse's width.) number radiusy The radius of the ellipse along the y-axis (hal

love.graphics.drawq

love.graphics.drawq Removed in LÖVE 0.9.0 It has been merged into love.graphics.draw. Draw a Quad with the specified Image on screen. Function Synopsis love.graphics.drawq( image, quad, x, y, r, sx, sy, ox, oy, kx, ky ) Arguments Image image An image to texture the quad with. Quad quad The quad to draw on screen. number x The position to draw the object (x-axis). number y The position to draw the object (y-axis). number r (0) Orientation (radians). number sx (1) Scale factor (x-axis)

love.graphics.draw

love.graphics.draw Draws a Drawable object (an Image, Canvas, SpriteBatch, ParticleSystem, Mesh, or Video) on the screen with optional rotation, scaling and shearing. Objects are drawn relative to their local coordinate system. The origin is by default located at the top left corner of Image and Canvas. All scaling, shearing, and rotation arguments transform the object relative to that point. Also, the position of the origin can be specified on the screen coordinate system. It's possible to r