Options to draw
Draws a rounded rectangle using the current state of the canvas. If you omit the last three params, it will draw a rectangle outline with a 5 pixel border radius
Context of the canvas
The top left x coordinate
The top left y coordinate
The width of the rectangle
The height of the rectangle
Function to wrap text on lines
Context of the canvas
Text to write
Left coordinate of first letter
Top coordinate of first letter
Max width in px of each line
Line height in px
Text should be wrapped on lines
Generated using TypeDoc
Function to draw text, background on canvas and get Mesh with CanvasTexture on it