supervision-js
    Preparing search index...

    Interface MaskDrawInstruction

    Renderer-neutral mask drawing instruction.

    The mask remains semantic detection data. Renderer backends may prepare it into ID-mask artifacts, textures, or other backend-specific resources.

    interface MaskDrawInstruction {
        alpha: number;
        color: number;
        mask: CompressedRleDetectionMask;
        stroke?: MaskStrokeStyle;
    }
    Index
    alpha: number
    color: number