Difference between revisions of "love.graphics.setBackgroundColor"

(Changed note to newin template)
m (Fixed template tag)
Line 12: Line 12:
 
Nothing.
 
Nothing.
 
=== Synopsis ===
 
=== Synopsis ===
{{newin|0.7.0|type=variant}}
+
{{newin|[[0.7.0]]|type=variant}}
 +
 
  
 
<source lang="lua">
 
<source lang="lua">

Revision as of 18:35, 2 February 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.

Synopsis

Available since LÖVE 0.7.0
This variant is not supported in earlier versions.


love.graphics.setBackgroundColor( rgb )

Arguments

table rgb
A numerical indexed table with the red, green and blue values as numbers.

Returns

Nothing.

See Also

Other Languages