[−][src]Macro embedded_graphics::primitive_style
Create a PrimitiveStyle
All properties on PrimitiveStyle
are supported. Any properties not specified in the macro
call will use the values provided by PrimitiveStyle::default()
.
use embedded_graphics::{ pixelcolor::{Rgb565, RgbColor}, primitive_style, }; let style = primitive_style!(fill_color = Rgb565::RED);