Results object from a call to GetTextSize.
name | type | description |
---|---|---|
width | number |
The width of the longest line in the Text object. |
height | number |
The height of the Text object. |
lines | number |
The number of lines in the Text object. |
lineWidths | Array.<number> |
An array of the lines for each line in the Text object. |
lineSpacing | number |
The line spacing of the Text object. |
lineHeight | number |
The height of a line factoring in font and stroke. |