supervision-js
    Preparing search index...

    Interface BaseInteractionStyleOptions

    interface BaseInteractionStyleOptions {
        cornerRadius?: DetectionStyleValue<
            number
            | undefined,
            InteractionStyleContext,
        >;
        fill?: DetectionStyleValue<
            Partial<BoxFillStyle>
            | null,
            InteractionStyleContext,
        >;
        hovered?: InteractionPresentation | null;
        selected?: InteractionPresentation | null;
        shape?: DetectionStyleValue<BoxShape, InteractionStyleContext>;
        shouldRender?: DetectionStylePredicate<InteractionStyleContext>;
        stroke?: DetectionStyleValue<
            Partial<BoxStrokeStyle>
            | null,
            InteractionStyleContext,
        >;
    }
    Index
    cornerRadius?: DetectionStyleValue<number | undefined, InteractionStyleContext>

    Rounded highlight corner radius in media pixels.

    Prefer hovered.boxStyle and selected.boxStyle.

    fill?: DetectionStyleValue<
        Partial<BoxFillStyle>
        | null,
        InteractionStyleContext,
    >

    Highlight fill. Pass null to disable fills, or a resolver for per-state/per-detection styling.

    Prefer hovered.boxStyle and selected.boxStyle.

    hovered?: InteractionPresentation | null

    Presentation applied to hovered detections. Uses the same style objects as the base renderer presentation.

    selected?: InteractionPresentation | null

    Presentation applied to selected detections. Uses the same style objects as the base renderer presentation.

    Highlight geometry. Pass a resolver for per-class or per-state changes.

    Prefer hovered.boxStyle and selected.boxStyle.

    Return false to skip rendering an interaction highlight.

    stroke?: DetectionStyleValue<
        Partial<BoxStrokeStyle>
        | null,
        InteractionStyleContext,
    >

    Highlight stroke. Pass null to disable strokes, or a resolver for per-state/per-detection styling.

    Prefer hovered.boxStyle and selected.boxStyle.