Difference between revisions of "love.graphics.setBackgroundColor"
m |
|||
Line 11: | Line 11: | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
− | |||
== Function == | == Function == | ||
{{newin|[[0.8.0]]|080|type=variant}} | {{newin|[[0.8.0]]|080|type=variant}} | ||
Line 25: | Line 24: | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
− | |||
== Function == | == Function == | ||
{{newin|[[0.7.0]]|070|type=variant}} | {{newin|[[0.7.0]]|070|type=variant}} | ||
Line 36: | Line 34: | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
− | + | == Function == | |
+ | {{newin|[[0.8.0]]|080|type=variant}} | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | love.graphics.setBackgroundColor( rgba ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | {{param|table|rgba|A numerical indexed table with the red, green, blue and alpha values as [[number]]s.}} | ||
+ | === Returns === | ||
+ | Nothing. | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] |
Revision as of 03:54, 23 October 2012
Sets the background color.
Contents
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
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info