Function nannou::ui::text::height[][src]

pub fn height(num_lines: usize, font_size: u32, line_spacing: f64) -> f64

Determine the total height of a block of text with the given number of lines, font size and line_spacing (the space that separates each line of text).