Difference between revisions of "love.graphics.setBackgroundColor"
Fierceform (talk | contribs) m (→Function) |
(Added table support synopsis) |
||
Line 11: | Line 11: | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | love.graphics.setBackgroundColor( rgb ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | {{param|table|rgb|A numerical indexed table with the red, green and blue values as [[number]]s.}} | ||
+ | === Returns === | ||
+ | Nothing. | ||
+ | === Notes === | ||
+ | Added in version 0.7.0. | ||
== See Also == | == See Also == |
Revision as of 19:44, 1 February 2011
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.
Synopsis
love.graphics.setBackgroundColor( rgb )
Arguments
Returns
Nothing.
Notes
Added in version 0.7.0.
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