love.graphics.clear

Clears the screen to the background color and restores the default coordinate system.

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

Personal tools