IFontRenderer

Not for manual implementation. This should be implemented by the corresponding platform.

Properties

Link copied to clipboard
abstract val height: Int

Functions

Link copied to clipboard
abstract fun getCharWidth(char: Char): Int
Link copied to clipboard
abstract fun getStringWidth(string: String): Int
Link copied to clipboard
abstract fun splitText(text: String, width: Int): List<String>
Link copied to clipboard
open fun trimStringToWidth(string: String, maxWidth: Int): String
abstract fun trimStringToWidth(string: String, maxWidth: Int, reverse: Boolean): String