toggle menu
MoulConfig
4.1.0-beta
jvm
switch theme
search in API
common
/
io.github.notenoughupdates.moulconfig.common
/
IFontRenderer
IFont
Renderer
@
NullMarked
(
)
public
interface
IFontRenderer
(
source
)
Members
Functions
get
Char
Width
Link copied to clipboard
public
int
getCharWidth
(
char c
)
get
Height
Link copied to clipboard
public
abstract
int
getHeight
(
)
get
String
Width
Link copied to clipboard
public
abstract
int
getStringWidth
(
StructuredText
structuredText
)
public
int
getStringWidth
(
String
string
)
split
Lines
Link copied to clipboard
public
List
<
StructuredText
>
splitLines
(
StructuredText
structuredText
)
split
Text
Link copied to clipboard
public
abstract
List
<
StructuredText
>
splitText
(
StructuredText
structuredText
,
int width
)
trim
String
To
Width
Link copied to clipboard
public
String
trimStringToWidth
(
String
string
,
int width
)
public
abstract
String
trimStringToWidth
(
String
string
,
int width
,
boolean reversed
)