ForgeFontRenderer

class ForgeFontRenderer(val font: FontRenderer) : IFontRenderer(source)

Constructors

Link copied to clipboard
constructor(font: FontRenderer)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val font: FontRenderer
Link copied to clipboard
open override val height: Int

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