$measureText
Measure some text.
Usage
Parameters
Field | Description | Type | Required |
---|---|---|---|
canvas | The canvas name. | string | true |
text | The text to measure. | string | true |
font | The text font. | font | false |
property | Property. | ”json” | TextMetrics | false |
Measure some text.
Field | Description | Type | Required |
---|---|---|---|
canvas | The canvas name. | string | true |
text | The text to measure. | string | true |
font | The text font. | font | false |
property | Property. | ”json” | TextMetrics | false |