Phaser API Documentation

  Version: 
TextConfig
Properties:
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.

Type:
object
Since: 3.0.0