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

    Interface PixelBlendOptions

    Configuration for pixel manipulation operations. Designed to be used by spreading a Rect object ({x, y, w, h}) directly.

    interface PixelBlendOptions {
        alpha?: number;
        blendFn?: BlendColor32;
        h?: number;
        sx?: number;
        sy?: number;
        w?: number;
        x?: number;
        y?: number;
    }

    Hierarchy (View Summary)

    Index

    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.
    
    sx?: number

    The source rectangle x-coordinate

    0
    
    sy?: number

    The source rectangle y-coordinate

    0
    
    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