Small World Engine API Reference - v0.76.20
    Preparing search index...

    Interface TextShadowOptions

    Drop-shadow styling for text drawn by a TextTexture.

    interface TextShadowOptions {
        blur?: number;
        color?: string;
        offsetX?: number;
        offsetY?: number;
    }
    Index
    blur?: number

    Shadow blur radius in pixels. Defaults to 8.

    color?: string

    Shadow color as a CSS color string. Defaults to "rgba(0, 0, 0, 0.6)".

    offsetX?: number

    Shadow X offset in pixels. Defaults to 0.

    offsetY?: number

    Shadow Y offset in pixels. Defaults to 0.