Difference between revisions of "love.graphics.clear"
m |
m |
||
Line 1: | Line 1: | ||
− | Clears the screen to the [[love.graphics.setBackgroundColor|background color]] | + | Clears the screen to the [[love.graphics.setBackgroundColor|background color]]. |
This function is called automatically before [[love.draw]] in the default [[love.run]] function. See the example in [[love.run]] for a typical use of this function. | This function is called automatically before [[love.draw]] in the default [[love.run]] function. See the example in [[love.run]] for a typical use of this function. |
Revision as of 13:43, 30 May 2015
Clears the screen to the background color.
This function is called automatically before love.draw in the default love.run function. See the example in love.run for a typical use of this function.
Note that the scissor area bounds the cleared region.
Function
Synopsis
love.graphics.clear( )
Arguments
None.
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