hudRenderer.drawString
Call Signature
drawString(
x,y,text,color):void
Draws a string at the given position using the current HUD font.
Parameters
x
number
The x position.
y
number
The y position.
text
string
The string to draw.
color
The color of the text.
Returns
void
Call Signature
drawString(
x,y,text,color,shadow):void
Draws a string at the given position using the current HUD font, with optional shadow.
Parameters
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.
Returns
void
Last updated