Skip to main content

paint_text_size

Function paint_text_size 

Source
pub fn paint_text_size(
    ui: &mut dyn UiBuilder,
    pos: [f32; 2],
    text: &str,
    size: f32,
    color: [f32; 4],
)
Expand description

Paints proportional text at the given position with explicit size + color.