ForgeFontRenderer

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

Constructors

Link copied to clipboard
constructor(font: FontRenderer)

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 getHeight(): Int
Link copied to clipboard
open override fun getStringWidth(string: StructuredText): Int
open override fun getStringWidth(string: String): Int
Link copied to clipboard
open override fun splitText(text: StructuredText, width: Int): List<StructuredText>
Link copied to clipboard
open override fun trimStringToWidth(string: String, width: Int, reverse: Boolean): String