Skip to main content

canvas_font

Function canvas_font 

pub fn canvas_font(ctx: &Context) -> Option<String>
Expand description

The first font of the context’s proportional family, the font the canvas’s text is drawn in.

Valid only after the context’s first pass, like [egui::Context::fonts].