Skip to main content

measure_text

Function measure_text 

Source
pub fn measure_text(
    text: &str,
    max_width: Option<usize>,
    wrap: bool,
) -> TextMetrics
Expand description

Performs the measure text operation.