supervision-js
    Preparing search index...

    Interface AnnotationOverlayStyle

    Renderer-neutral presentation for editing affordances and previews.

    interface AnnotationOverlayStyle {
        editingPreview?: {
            boxFill?: DetectionStyleValue<
                BoxFillStyle,
                AnnotationEditingPreviewStyleContext,
            >;
            closeZoneStroke?: DetectionStyleValue<
                BoxStrokeStyle,
                AnnotationEditingPreviewStyleContext,
            >;
            polygonFill?: DetectionStyleValue<
                BoxFillStyle,
                AnnotationEditingPreviewStyleContext,
            >;
            stroke?: DetectionStyleValue<
                BoxStrokeStyle,
                AnnotationEditingPreviewStyleContext,
            >;
        };
        externalPreview?: {
            draftFill?: BoxFillStyle;
            draftStroke?: BoxStrokeStyle;
            hoverFill?: BoxFillStyle;
            hoverStroke?: BoxStrokeStyle;
            negativePointFill?: BoxFillStyle;
            pointStroke?: BoxStrokeStyle;
            positivePointFill?: BoxFillStyle;
        };
        guide?: { shadowStroke?: BoxStrokeStyle; stroke?: BoxStrokeStyle };
        loading?: { stroke?: BoxStrokeStyle };
        marquee?: { fill?: BoxFillStyle };
        selectionHandle?: {
            addVertexAlpha?: number;
            fill?: DetectionStyleValue<BoxFillStyle, AnnotationStyleContext>;
            stroke?: DetectionStyleValue<BoxStrokeStyle, AnnotationStyleContext>;
        };
    }
    Index
    editingPreview?: {
        boxFill?: DetectionStyleValue<
            BoxFillStyle,
            AnnotationEditingPreviewStyleContext,
        >;
        closeZoneStroke?: DetectionStyleValue<
            BoxStrokeStyle,
            AnnotationEditingPreviewStyleContext,
        >;
        polygonFill?: DetectionStyleValue<
            BoxFillStyle,
            AnnotationEditingPreviewStyleContext,
        >;
        stroke?: DetectionStyleValue<
            BoxStrokeStyle,
            AnnotationEditingPreviewStyleContext,
        >;
    }

    Type Declaration

    externalPreview?: {
        draftFill?: BoxFillStyle;
        draftStroke?: BoxStrokeStyle;
        hoverFill?: BoxFillStyle;
        hoverStroke?: BoxStrokeStyle;
        negativePointFill?: BoxFillStyle;
        pointStroke?: BoxStrokeStyle;
        positivePointFill?: BoxFillStyle;
    }
    guide?: { shadowStroke?: BoxStrokeStyle; stroke?: BoxStrokeStyle }
    loading?: { stroke?: BoxStrokeStyle }
    marquee?: { fill?: BoxFillStyle }
    selectionHandle?: {
        addVertexAlpha?: number;
        fill?: DetectionStyleValue<BoxFillStyle, AnnotationStyleContext>;
        stroke?: DetectionStyleValue<BoxStrokeStyle, AnnotationStyleContext>;
    }

    Type Declaration

    • Optional ReadonlyaddVertexAlpha?: number
    • Optional Readonlyfill?: DetectionStyleValue<BoxFillStyle, AnnotationStyleContext>

      Static or annotation-aware handle fills. Resolver support keeps handles visually aligned with each selected annotation, including multi-select.

    • Optional Readonlystroke?: DetectionStyleValue<BoxStrokeStyle, AnnotationStyleContext>