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

pub fn width(text: &str, font: &Font<'static>, font_size: u32) -> f64

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