pub fn get_text_dimension(text: &str) -> (usize, usize)Expand description
Returns string width and count lines of a string.
It’s a combination of get_text_width and count_lines.
pub fn get_text_dimension(text: &str) -> (usize, usize)Returns string width and count lines of a string.
It’s a combination of get_text_width and count_lines.