Set a fixed width and height for the text.
Pass in 0
for either of these parameters to disable fixed width or height respectively.
name | type | description |
---|---|---|
width | number |
The fixed width to set. |
height | number |
The fixed height to set. |
The parent Text object.