hudRenderer.drawString
Last updated
drawString(
x,y,text,color):void
Draws a string at the given position using the current HUD font.
x
number
The x position.
y
number
The y position.
text
string
The string to draw.
color
The color of the text.
void
drawString(
x,y,text,color,shadow):void
Draws a string at the given position using the current HUD font, with optional shadow.
x
number
The x position.
y
number
The y position.
text
string
The string to draw.
color
The color of the text.
shadow
boolean
Whether to draw a drop shadow.
void
Last updated