PokéRogue
    Preparing search index...

    Type Alias GradientMapConfig

    type GradientMapConfig = {
        alpha?: number;
        color?: number[];
        colorFactor?: number[];
        dither?: boolean;
        ramp?:
            | ColorRamp
            | ColorBandConfig
            | ColorBand
            | (ColorBandConfig | ColorBand)[];
        unpremultiply?: boolean;
    }
    Index
    alpha?: number

    How much of the effect to blend over the original.

    color?: number[]

    Value to add to each channel.

    colorFactor?: number[]

    Factor to apply to each channel. Try to keep them summing to 1.

    dither?: boolean

    Whether to dither the gradient output.

    The color ramp to use.

    unpremultiply?: boolean

    Whether to unpremultiply color data before processing it.