Style

@Immutable
data class Style(val textColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.TEXT), val textContainerColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.TEXT_CONTAINER), val highlightedTextColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_TEXT), val highlightedTextContainerColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_TEXT_CONTAINER), val textFormat: BarcodeOverlayTextFormat = BarcodeOverlayTextFormat.CODE_AND_TYPE) : ArOverlayTextConfiguration

The style configuration for the text in the AR overlay.

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.

Constructors

Link copied to clipboard
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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard