Function nannou::text::line::width[][src]

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

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