Function: wrapText()
ts
function wrapText(text, font, maxWidth): string[];Experimental
FontMetricsOracle.wrapText on the default oracle.
Parameters
| Parameter | Type |
|---|---|
text | string |
font | TextFont |
maxWidth | number |
Returns
string[]