getNumberOfLines

fun getNumberOfLines(value: String, startY: Int, maxWidth: Int): Int

Get the number of lines that a string will take up in a given area.