Usage
$measureText[;;;]Arguments
| Name | Type | Required | Description |
|---|---|---|---|
canvas | String | No | Name of the canvas |
text | String | Yes | The text to measure |
font | String | Yes | The font |
property | No | The measured text's TextMetrics property to return |
Returns text metrics that contain information about the measured text (such as its width, for example)
$measureText[;;;]| Name | Type | Required | Description |
|---|---|---|---|
canvas | String | No | Name of the canvas |
text | String | Yes | The text to measure |
font | String | Yes | The font |
property | No | The measured text's TextMetrics property to return |
Was this page helpful?