Interface SelectionOverlayConfiguration

Barcode Selection Overlay configuration

interface SelectionOverlayConfiguration {
    automaticSelectionEnabled: boolean;
    highlightedPolygonColor: string;
    highlightedTextColor: string;
    highlightedTextContainerColor: string;
    overlayEnabled: boolean;
    polygonColor: string;
    textColor: string;
    textContainerColor: string;
    textFormat: BarcodeOverlayTextFormat;
}

Properties

automaticSelectionEnabled: boolean

Whether the barcode is selected automatically when being detected or not.

highlightedPolygonColor: string

The color of the polygon in the selection overlay, when highlighted.

highlightedTextColor: string

The color of the text in the selection overlay, when highlighted.

highlightedTextContainerColor: string

The color of the texts background in the selection overlay, when highlighted.

overlayEnabled: boolean

Whether the barcode selection overlay is enabled or not.

polygonColor: string

The color of the polygon in the selection overlay.

textColor: string

The color of the text in the selection overlay.

textContainerColor: string

The color of the texts background in the selection overlay.

Define the way of how to show barcode data with selection overlay.