Difference between revisions of "love.graphics.getBackgroundColor"

m
m (Add link to setter.)
Line 14: Line 14:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 +
* [[love.graphics.setBackgroundColor]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the current background color.}}
 
{{#set:Description=Gets the current background color.}}

Revision as of 12:08, 5 November 2014

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


Other Languages