[][src]Trait sensehat_screen::color::BackgroundColor

pub trait BackgroundColor {
    fn set_background_color(&mut self, color: PixelColor);
fn get_background_color(&self) -> PixelColor; }

Common trait for types that can be rendered into a PixelFrame, with a background color.

Required methods

fn set_background_color(&mut self, color: PixelColor)[src]

Sets the background color.

fn get_background_color(&self) -> PixelColor[src]

Gets the background color.

Loading content...

Implementors

impl BackgroundColor for FontFrame[src]

Loading content...