supervision-js
    Preparing search index...

    Interface MaskHaloDrawInstruction

    Renderer-neutral mask halo drawing instruction.

    The backend blurs the prepared mask coverage on the GPU, so the glow follows the exact mask silhouette. Each detection's spread is honored: detections requesting different spreads render in separate blur passes.

    interface MaskHaloDrawInstruction {
        alpha: number;
        color: number;
        spread: number;
    }
    Index
    alpha: number

    Peak glow alpha at the silhouette.

    color: number
    spread: number

    Blur radius in screen pixels.