pub trait FontRenderExt {
    // Required method
    fn text(&self, font: &Font<'_>, text: &str, options: FontRenderOptions);
}
Expand description

An extension for Pen to render a text.

Required Methods§

source

fn text(&self, font: &Font<'_>, text: &str, options: FontRenderOptions)

Renders a text to the area with the font.

Implementors§