Function carbide_core::text::height[][src]

pub fn height(
    num_lines: usize,
    font_size: FontSize,
    line_spacing: Scalar
) -> Scalar

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).