tabs : integer | array
The size (in pixels) of the tabs, for when text includes tab characters. 0 disables.
Can be an integer or an array of varying tab sizes, one tab per element.
For example if you set tabs to 100 then when Text encounters a tab it will jump ahead 100 pixels.
If you set tabs to be [100,200]
then it will set the first tab at 100px and the second at 200px.
Type
- integer | array
- Source code: gameobjects/Text.js (Line 1919)
Please login to continue.