Function playdate_graphics::clear_raw

source ·
pub fn clear_raw(color: LCDColor)
Expand description

Clears the entire display, filling it with color.

Same as clear, but without conversion Color -> LCDColor. That conversion is really cheap, so this function is useful if you’re working with LCDColor directly.

This function is shorthand for Graphics::clear_raw, using default ZST end-point.

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