Function nannou::ui::prelude::text::line::width [−][src]
pub fn width(text: &str, font: &Font<'static>, font_size: u32) -> f64
Expand description
Produce the width of the given line of text including spaces (i.e. ’ ’).