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