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

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

    type TextShadow = {
        blur?: number;
        color?: string;
        fill?: boolean;
        offsetX?: number;
        offsetY?: number;
        stroke?: boolean;
    }
    Index

    Properties

    blur?: number

    The amount of blur applied to the shadow. Leave as zero for a hard shadow.

    color?: string

    The color of the shadow, given as a CSS string value.

    fill?: boolean

    Apply the shadow to the fill effect on the Text object?

    offsetX?: number

    The horizontal offset of the shadow.

    offsetY?: number

    The vertical offset of the shadow.

    stroke?: boolean

    Apply the shadow to the stroke effect on the Text object?