supervision-js
    Preparing search index...

    Function createMaskBrushEditor

    • Mutable live bridge for brush painting. Persistence remains host-owned.

      Parameters

      • options: {
            width: number;
            height: number;
            canvas?: HTMLCanvasElement;
            onCursorUpdate?: () => void;
            onTextureUpdate?: () => void;
            onCommit?: (mask: CompressedRleDetectionMask) => void;
        }

      Returns MaskBrushEditor