getWidth

fun getWidth(): Float

Gets the width of the text This is automatically updated when the text is drawn.

Return

the width of the text

Sources

Link copied to clipboard