[−][src]Trait embedded_graphics::pixelcolor::GrayColor
Grayscale color.
Associated Constants
Loading content...Required methods
fn luma(&self) -> u8
Returns the luma channel value.
Implementors
impl GrayColor for Gray2
[src]
fn luma(&self) -> u8
[src]
const BLACK: Self
[src]
Black color (0% luma)
const WHITE: Self
[src]
White color (100% luma)
impl GrayColor for Gray4
[src]
fn luma(&self) -> u8
[src]
const BLACK: Self
[src]
Black color (0% luma)
const WHITE: Self
[src]
White color (100% luma)