ModernFontRenderer

class ModernFontRenderer(val textRenderer: TextRenderer) : IFontRenderer(source)

Constructors

Link copied to clipboard
constructor(textRenderer: TextRenderer)

Properties

Link copied to clipboard
open override val height: Int
Link copied to clipboard
val textRenderer: TextRenderer

Functions

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