getTextHeight

open fun getTextHeight(@Nullable text: String): Float

Returns the visual height of the text based on its current text appearance.