DynamicDrawText
Callable
Parameters
text: string
The text to draw
ctx: CanvasRenderingContext2D
The rendering context to draw the text to
x: number
The x coordinate at which to draw the text
y: number
The y coordinate at which to draw the text
options: DynamicDrawOptions
Additional drawing options
Returns void
- Nothing
Draws the given text to the provided canvas rendering context at the given positions. Text is drawn horizontally, respecting the configuration in the provided options (if any).