Skip to main content

styled_text

Function styled_text 

Source
pub fn styled_text(
    s: &str,
    size: f64,
    weight: i32,
    r: f64,
    g: f64,
    b: f64,
    a: f64,
) -> ViewHandle
Expand description

Create a Text with font size, weight and colour applied.