Style

constructor(textColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.TEXT), textContainerColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.TEXT_CONTAINER), highlightedTextColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_TEXT), highlightedTextContainerColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_TEXT_CONTAINER), textFormat: BarcodeOverlayTextFormat = BarcodeOverlayTextFormat.CODE_AND_TYPE)

Parameters

textColor

The color of the text in the AR overlay.

textContainerColor

The color of the texts background in the AR overlay.

highlightedTextColor

The color of the text for the highlighted barcode item in the AR overlay.

highlightedTextContainerColor

The color of the text background for the highlighted barcode item in the AR overlay.

textFormat

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