DrawText
Callable
Parameters
Text: string
Text to draw
X: number
Position of the text on the X axis
Y: number
Position of the text on the Y axis
Color: string
Color of the text
optionalBackColor: string
Color of the background
Returns void
- Nothing
Text to draw
Position of the text on the X axis
Position of the text on the Y axis
Color of the text
Color of the background
Draws a text element on the canvas