love.graphics.setBackgroundColor
love.graphics.setBackgroundColor
Sets the background color.
Function
Synopsis
love.graphics.setBackgroundColor( red, green, blue )
Arguments
number red
- The red component (0-255).
number green
- The green component (0-255).
number blue
- The blue component (0-255).
Returns
Nothing.
Function
Available since LÖVE 0.8.0
This variant is not supported in earlier versions.
Synopsis
love.graphics.setBackgroundColor( red, green, blue, alpha )
Arguments
number red
- The red component (0-255).
number green
- The green component (0-255).
number blue
- The blue component (0-255).
number alpha
- The alpha component (0-255).
Returns
Nothing.
Function
Available since LÖVE 0.7.0
This variant is not supported in earlier versions.
Synopsis
love.graphics.setBackgroundColor( rgb )
Arguments
Returns
Nothing.
Function
Available since LÖVE 0.8.0
This variant is not supported in earlier versions.
Synopsis
love.graphics.setBackgroundColor( rgba )
Arguments
Returns
Nothing.
See Also
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.setBackgroundColor