toggle menu
MoulConfig
4.1.0-beta
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
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
(
StructuredText
string
)
public
Integer
getStringWidth
(
String
string
)
split
Lines
Link copied to clipboard
public
List
<
StructuredText
>
splitLines
(
StructuredText
p0
)
split
Text
Link copied to clipboard
public
List
<
StructuredText
>
splitText
(
StructuredText
text
,
Integer
width
)
trim
String
To
Width
Link copied to clipboard
public
String
trimStringToWidth
(
String
p0
,
Integer
p1
)
public
String
trimStringToWidth
(
String
string
,
Integer
width
,
Boolean
reverse
)