toggle menu
MoulConfig
3.6.0
jvm
switch theme
search in API
legacy
/
io.github.notenoughupdates.moulconfig.internal
/
ForgeFontRenderer
Forge
Font
Renderer
public
final
class
ForgeFontRenderer
implements
IFontRenderer
(
source
)
Members
Constructors
Forge
Font
Renderer
Link copied to clipboard
public
ForgeFontRenderer
ForgeFontRenderer
(
FontRenderer
font
)
Properties
font
Link copied to clipboard
private
final
FontRenderer
font
height
Link copied to clipboard
private
final
Integer
height
Functions
get
Char
Width
Link copied to clipboard
public
Integer
getCharWidth
(
Character
char
)
get
Font
Link copied to clipboard
public
final
FontRenderer
getFont
(
)
get
Height
Link copied to clipboard
public
Integer
getHeight
(
)
get
String
Width
Link copied to clipboard
public
Integer
getStringWidth
(
String
string
)
split
Text
Link copied to clipboard
public
List
<
String
>
splitText
(
String
text
,
Integer
width
)
trim
String
To
Width
Link copied to clipboard
public
String
trimStringToWidth
(
String
string
,
Integer
maxWidth
)
public
String
trimStringToWidth
(
String
string
,
Integer
maxWidth
,
Boolean
reverse
)