MoulConfig
Toggle table of contents
9999.9999.9999+16fcc03
1.21.10
1.21.11
1.21.4
1.21.5
1.21.7
26.1
Target filter
1.21.10
1.21.11
1.21.4
1.21.5
1.21.7
26.1
Switch theme
Search in API
Skip to content
MoulConfig
modern
/
io.github.notenoughupdates.moulconfig.platform
/
MoulConfigFontRenderer
/
trimStringToWidth
trim
String
To
Width
1.21.10
1.21.11
1.21.4
1.21.5
1.21.7
26.1
@
NotNull
open
fun
trimStringToWidth
(
@
NotNull
string
:
@
NotNull
String
,
width
:
Int
,
reverse
:
Boolean
)
:
@
NotNull
String
(
source
)
@
NotNull
open
fun
trimStringToWidth
(
@
NotNull
string
:
@
NotNull
String
,
width
:
Int
,
reverse
:
Boolean
)
:
@
NotNull
String
(
source
)
@
NotNull
open
fun
trimStringToWidth
(
@
NotNull
string
:
@
NotNull
String
,
width
:
Int
,
reverse
:
Boolean
)
:
@
NotNull
String
(
source
)
@
NotNull
open
fun
trimStringToWidth
(
@
NotNull
string
:
@
NotNull
String
,
width
:
Int
,
reverse
:
Boolean
)
:
@
NotNull
String
(
source
)
@
NotNull
open
fun
trimStringToWidth
(
@
NotNull
string
:
@
NotNull
String
,
width
:
Int
,
reverse
:
Boolean
)
:
@
NotNull
String
(
source
)
@
NotNull
open
fun
trimStringToWidth
(
@
NotNull
string
:
@
NotNull
String
,
width
:
Int
,
reverse
:
Boolean
)
:
@
NotNull
String
(
source
)