name | type | arguments | description |
---|---|---|---|
text | string | Array.<string> | <optional> |
The text this Text object will display. |
style | Phaser.Types.GameObjects.Text.TextStyle | <optional> |
The Text style configuration object. |
padding | Phaser.Types.GameObjects.Text.TextPadding | <optional> |
A Text Padding object. |