Difference between revisions of "love.graphics.clear"

m
Line 21: Line 21:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Clears the screen to background color.}}
 
{{#set:Description=Clears the screen to background color.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.clear}}
 
{{i18n|love.graphics.clear}}

Revision as of 10:14, 25 March 2011

Clears the screen to 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