text(text, x, y, color, font)
Render a string of text.
Parameters
Name | Type | Argument | Description |
---|---|---|---|
text | string | The line of text to draw. | |
x | number | X position of the debug info to be rendered. | |
y | number | Y position of the debug info to be rendered. | |
color | string | <optional> | Color of the debug info to be rendered (format is css color string). |
font | string | <optional> | The font of text to draw. |
- Source code: utils/Debug.js (Line 676)
Please login to continue.