phaser - v4.0.0-rc.4
    Preparing search index...
    TextConfig: GameObjectConfig & {
        padding?: TextPadding;
        style?: Types.GameObjects.Text.TextStyle;
        text?: string | string[];
    }

    Type declaration

    • Optionalpadding?: TextPadding

      A Text Padding object.

    • Optionalstyle?: Types.GameObjects.Text.TextStyle

      The Text style configuration object.

    • Optionaltext?: string | string[]

      The text this Text object will display.