Difference between revisions of "love.graphics.getBackgroundColor"
(Added alpha return value.) |
|||
Line 11: | Line 11: | ||
{{param|number|g|The green component (0-255).}} | {{param|number|g|The green component (0-255).}} | ||
{{param|number|b|The blue component (0-255).}} | {{param|number|b|The blue component (0-255).}} | ||
− | {{param|number| | + | {{param|number|a|The alpha component (0-255).}} |
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] |
Revision as of 00:04, 5 August 2012
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
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