Skip to main content

canvas_text

Function canvas_text 

Source
pub fn canvas_text(
    x: f32,
    y: f32,
    size: f32,
    r: u8,
    g: u8,
    b: u8,
    a: u8,
    text: &str,
)
Expand description

Draw text on the canvas with RGBA color.