MoulConfigFontRenderer

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getCharWidth(c: Char): Int
Link copied to clipboard
open fun getHeight(): Int
Link copied to clipboard
open fun getStringWidth(string: String): Int
open fun getStringWidth(@NotNull string: @NotNull StructuredText): Int
Link copied to clipboard
open fun splitLines(structuredText: StructuredText): List<StructuredText>
Link copied to clipboard
@NotNull
open fun splitText(@NotNull text: @NotNull StructuredText, width: Int): @NotNull List<@NotNull StructuredText>
Link copied to clipboard
open fun trimStringToWidth(string: String, width: Int): String
@NotNull
open fun trimStringToWidth(@NotNull string: @NotNull String, width: Int, reverse: Boolean): @NotNull String