clear

Function clear 

Source
pub fn clear(color: Color<'_>)
Expand description

Clears the entire display, filling it with color.

This function is shorthand for [Graphics::always], using default ZST end-point.

Equivalent to sys::ffi::playdate_graphics::clear.