Difference between revisions of "love.graphics.setBackgroundColor"

m (Function)
Line 3: Line 3:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
love.graphics.setBackgroundColor( r, g, b )
+
love.graphics.setBackgroundColor( red, green, blue )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|number|r|The red component (0-255).}}
+
{{param|number|red|The red component (0-255).}}
{{param|number|g|The green component (0-255).}}
+
{{param|number|green|The green component (0-255).}}
{{param|number|b|The blue component (0-255).}}
+
{{param|number|blue|The blue component (0-255).}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 02:41, 25 January 2011

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.

See Also

Other Languages