clear

fun clear(color: ColorRGBa)(source)

Clears the current drawing buffer with the specified color.

Parameters

color

The color used to clear the buffer. It is an instance of ColorRGBa.