toggle menu
MoulConfig
3.0.0
jvm
switch theme
search in API
modern
/
io.github.notenoughupdates.moulconfig.platform
/
ModernFontRenderer
Modern
Font
Renderer
class
ModernFontRenderer
(
val
textRenderer
:
TextRenderer
)
:
IFontRenderer
(
source
)
Members
Constructors
Modern
Font
Renderer
Link copied to clipboard
constructor
(
textRenderer
:
TextRenderer
)
Properties
height
Link copied to clipboard
open
override
val
height
:
Int
text
Renderer
Link copied to clipboard
val
textRenderer
:
TextRenderer
Functions
get
Char
Width
Link copied to clipboard
open
override
fun
getCharWidth
(
char
:
Char
)
:
Int
get
String
Width
Link copied to clipboard
open
override
fun
getStringWidth
(
string
:
String
)
:
Int
split
Text
Link copied to clipboard
open
override
fun
splitText
(
text
:
String
,
width
:
Int
)
:
List
<
String
>
trim
String
To
Width
Link copied to clipboard
open
fun
trimStringToWidth
(
string
:
String
,
maxWidth
:
Int
)
:
String
open
override
fun
trimStringToWidth
(
string
:
String
,
maxWidth
:
Int
,
reverse
:
Boolean
)
:
String