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/typedefs/TextStyle.js
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
* @property {string} [stroke='#fff'] - The color used to stroke the Text if the `strokeThickness` property is greater than zero.
13
13
* @property {number} [strokeThickness=0] - The thickness of the stroke around the Text. Set to zero for no stroke.
14
14
* @property {Phaser.Types.GameObjects.Text.TextShadow} [shadow] - The Text shadow configuration object.
15
+
* @property {Phaser.Types.GameObjects.Text.TextPadding} [padding] - A Text Padding object.
15
16
* @property {string} [align='left'] - The alignment of the Text. This only impacts multi-line text.
16
17
* @property {integer} [maxLines=0] - The maximum number of lines to display within the Text object.
17
18
* @property {number} [fixedWidth=0] - Force the Text object to have the exact width specified in this property. Leave as zero for it to change accordingly to content.
0 commit comments