Trait embedded_graphics::prelude::GrayColor
source · [−]pub trait GrayColor: PixelColor {
const BLACK: Self;
const WHITE: Self;
fn luma(&self) -> u8;
}
Expand description
Grayscale color.
pub trait GrayColor: PixelColor {
const BLACK: Self;
const WHITE: Self;
fn luma(&self) -> u8;
}
Grayscale color.