toggle menu
MoulConfig
3.6.0
jvm
switch theme
search in API
common
/
io.github.notenoughupdates.moulconfig.common
/
IFontRenderer
IFont
Renderer
public
interface
IFontRenderer
(
source
)
Not for manual implementation. This should be implemented by the corresponding platform.
Members
Functions
get
Char
Width
Link copied to clipboard
public
abstract
Integer
getCharWidth
(
Character
char
)
get
Height
Link copied to clipboard
public
abstract
Integer
getHeight
(
)
get
String
Width
Link copied to clipboard
public
abstract
Integer
getStringWidth
(
String
string
)
split
Text
Link copied to clipboard
public
abstract
List
<
String
>
splitText
(
String
text
,
Integer
width
)
trim
String
To
Width
Link copied to clipboard
public
String
trimStringToWidth
(
String
string
,
Integer
maxWidth
)
public
abstract
String
trimStringToWidth
(
String
string
,
Integer
maxWidth
,
Boolean
reverse
)