Function nannou::text::line::width

source ·
pub fn width(text: &str, font: &Font, font_size: FontSize) -> Scalar
Expand description

Produce the width of the given line of text including spaces (i.e. ’ ’).