Mojo graphics canvas clear
mojo:mojo.graphics.Canvas.Clear
Method Clear:Void( color:std.graphics.Color )#
Clears the viewport.
Clears the current viewport to color
.
This method must not be called while the canvas is in lighting mode.
Parameters | |
---|---|
color |
color Color to clear the viewport to. |