You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gameobjects/Text.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
* @param {boolean} [style.wordWrap=false] - Indicates if word wrap should be used.
36
36
* @param {number} [style.wordWrapWidth=100] - The width in pixels at which text will wrap.
37
37
* @param {number} [style.maxLines=0] - The maximum number of lines to be shown for wrapped text.
38
-
* @param {number} [style.tabs=0] - The size (in pixels) of the tabs, for when text includes tab characters. 0 disables. Can be an array of varying tab sizes, one per tab stop.
38
+
* @param {number|array} [style.tabs=0] - The size (in pixels) of the tabs, for when text includes tab characters. 0 disables. Can be an array of varying tab sizes, one per tab stop.
39
39
* @param {object} [style.fontProperties=null] - `ascent`, `descent`, and `fontSize` lengths for a given style. You can get these from {@link Phaser.Text#determineFontProperties}.
40
40
* @param {string} [style.testString='|MÂÉQfjq_'] - The text to use to measure the font width and height.
0 commit comments