[−][src]Macro embedded_graphics::text_6x8
Render text using the Font6x8
font
use embedded_graphics::{text_6x8, prelude::*, fonts::Font6x8}; let text: Font6x8<u8> = text_6x8!("Hello world!"); let styled_text: Font6x8<u8> = text_6x8!( "Hello world!", stroke = Some(10u8), fill = Some(20u8) );
Style properties like stroke
map to the method calls on the
WithStyle
trait.