MoulConfig
Toggle table of contents
9999.9999.9999+16fcc03
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
MoulConfig
legacy
/
io.github.notenoughupdates.moulconfig.internal
/
TextRenderUtils
Text
Render
Utils
open
class
TextRenderUtils
(
source
)
Members
Constructors
Text
Render
Utils
Link copied to clipboard
constructor
(
)
Functions
draw
Hovering
Text
Link copied to clipboard
open
fun
drawHoveringText
(
textLines
:
List
<
out
IChatComponent
>
,
mouseX
:
Int
,
mouseY
:
Int
,
screenWidth
:
Int
,
screenHeight
:
Int
,
maxTextWidth
:
Int
,
font
:
FontRenderer
)
draw
String
Centered
Link copied to clipboard
open
fun
drawStringCentered
(
str
:
String
,
fr
:
FontRenderer
,
x
:
Float
,
y
:
Float
,
shadow
:
Boolean
,
colour
:
Int
)
draw
String
Centered
Scaled
Max
Width
Link copied to clipboard
open
fun
drawStringCenteredScaledMaxWidth
(
str
:
String
,
fr
:
FontRenderer
,
x
:
Float
,
y
:
Float
,
shadow
:
Boolean
,
len
:
Int
,
colour
:
Int
)
draw
String
Scaled
Link copied to clipboard
open
fun
drawStringScaled
(
str
:
String
,
fr
:
FontRenderer
,
x
:
Float
,
y
:
Float
,
shadow
:
Boolean
,
colour
:
Int
,
factor
:
Float
)
draw
String
Scaled
Max
Width
Link copied to clipboard
open
fun
drawStringScaledMaxWidth
(
str
:
String
,
fr
:
FontRenderer
,
x
:
Float
,
y
:
Float
,
shadow
:
Boolean
,
len
:
Int
,
colour
:
Int
)
draw
String
Vertical
Link copied to clipboard
open
fun
drawStringVertical
(
str
:
String
,
fr
:
FontRenderer
,
x
:
Float
,
y
:
Float
,
shadow
:
Boolean
,
colour
:
Int
)
get
Char
Vert
Len
Link copied to clipboard
open
fun
getCharVertLen
(
c
:
Char
)
:
Int
get
Vertical
Height
Link copied to clipboard
open
fun
getVerticalHeight
(
str
:
String
)
:
Float