supervision-js
    Preparing search index...

    Function createMaskBrushEditor

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

      Parameters

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

      Returns MaskBrushEditor