toggle menu
MoulConfig
3.2.0
jvm
switch theme
search in API
legacy
/
io.github.notenoughupdates.moulconfig.internal
/
ForgeFontRenderer
Forge
Font
Renderer
class
ForgeFontRenderer
(
val
font
:
FontRenderer
)
:
IFontRenderer
(
source
)
Members
Constructors
Forge
Font
Renderer
Link copied to clipboard
constructor
(
font
:
FontRenderer
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
font
Link copied to clipboard
val
font
:
FontRenderer
height
Link copied to clipboard
open
override
val
height
:
Int
Functions
get
Char
Width
Link copied to clipboard
open
override
fun
getCharWidth
(
char
:
Char
)
:
Int
get
String
Width
Link copied to clipboard
open
override
fun
getStringWidth
(
string
:
String
)
:
Int
split
Text
Link copied to clipboard
open
override
fun
splitText
(
text
:
String
,
width
:
Int
)
:
List
<
String
>
trim
String
To
Width
Link copied to clipboard
open
fun
trimStringToWidth
(
string
:
String
,
maxWidth
:
Int
)
:
String
open
override
fun
trimStringToWidth
(
string
:
String
,
maxWidth
:
Int
,
reverse
:
Boolean
)
:
String