Pixel Data JS - v0.28.0
    Preparing search index...

    Interface ColorBlendOptions

    Configuration for operations that require color blending.

    interface ColorBlendOptions {
        alpha?: number;
        blendFn?: BlendColor32;
        h?: number;
        w?: number;
        x?: number;
        y?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    alpha?: number

    Overall layer opacity 0-255.

    255
    
    blendFn?: BlendColor32

    The blending algorithm to use for blending pixels.

    h?: number

    The height of the region in the destination buffer.

    Source height.
    
    w?: number

    The width of the region in the destination buffer.

    Source width.
    
    x?: number

    The starting X coordinate in the destination buffer.

    0
    
    y?: number

    The starting Y coordinate in the destination buffer.

    0