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