getFontWidth

fun getFontWidth(font: Font): Int

Calculates the width of a given Font in pixels.

Sources

(source)
Link copied to clipboard