canvas2d_draw_label
canvas2d_draw_label(ctx, text, x, y, [color], [fontSize], [outline])
Kind: global function
Param | Type | Description |
---|---|---|
ctx | CanvasRenderingContext2D | |
text | string | |
x | number | |
y | number | |
[color] | string | CSS color |
[fontSize] | number | in pixels |
[outline] | string | CSS color |