$fillText
Draw text.
Usage
Parameters
Field | Description | Type | Required |
---|---|---|---|
canvas | The canvas name. | string | true |
text | The text. | string | true |
style | The text style. | color | gradient | false |
font | The text font. | font | true |
x | The text X position. | number | true |
y | The text Y position. | number | true |
maxWidth | The text max width. | number | false |
align | The text align. | string | false |
baseline | The text baseline. | string | false |