Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Interface ElementPixelStats

    Summary statistics for a rendered element's pixels: sampled region size, the non-black threshold used, the count of pixels above it, and the brightest pixel found — used by E2E assertions to confirm something was actually drawn.

    interface ElementPixelStats {
        width: number;
        height: number;
        threshold: number;
        nonBlackPixels: number;
        brightest: SampledPixel;
    }
    Index
    width: number
    height: number
    threshold: number
    nonBlackPixels: number
    brightest: SampledPixel