phaser - v4.0.0-rc.4
    Preparing search index...

    A Text Padding configuration object as used by the Text Style.

    type TextPadding = {
        bottom?: number;
        left?: number;
        right?: number;
        top?: number;
        x?: number;
        y?: number;
    }
    Index

    Properties

    bottom?: number

    The amount of padding added to the bottom of the Text object.

    left?: number

    The amount of padding added to the left of the Text object.

    right?: number

    The amount of padding added to the right of the Text object.

    top?: number

    The amount of padding added to the top of the Text object.

    x?: number

    If set this value is used for both the left and right padding.

    y?: number

    If set this value is used for both the top and bottom padding.