measureText
fn
void measureText(string text, out int width, out int height)Measures the width and height of a string.
This measures the bounding box of the string, accounting for multiple lines if newlines are present.
Parameters
text | Text to measure |
width | Output for width in pixels |
height | Output for height in pixels Example: |