Function graphics::text

source ยท
pub fn text<C, G>(
    color: Color,
    font_size: FontSize,
    text: &str,
    cache: &mut C,
    transform: Matrix2d,
    g: &mut G,
) -> Result<(), C::Error>
where C: CharacterCache, G: Graphics<Texture = <C as CharacterCache>::Texture>,
Expand description

Draws text.