IFClite TypeScript API
    Preparing search index...

    Interface ColorRaster

    interface ColorRaster {
        bounds: Bounds2D;
        height: number;
        pixels: Uint8ClampedArray;
        width: number;
    }
    Index
    bounds: Bounds2D

    Drawing-frame 2D rect (metres) the pixel grid spans EXACTLY (no margin).

    height: number
    pixels: Uint8ClampedArray

    RGBA8 straight alpha, row-major, ROW 0 = TOP of the drawing (world max.y).

    width: number