mojo.graphics.Canvas.Clear - nitrologic/monkey2 GitHub Wiki
mojo::mojo.graphics.mojo.graphics.Canvas.Clear
std:std.graphics.Color )
Method Clear:Void( 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. |