Skip to main content

text_draw

Function text_draw 

Source
pub fn text_draw(
    text: &str,
    style: &TextStyle,
    size: PictureSize,
    key: u64,
    font_size: f32,
) -> TextDraw
Expand description

The TextDraw of text in style on a picture of size at a font size of font_size pixels (fit_text), with content version key.