Style

constructor(polygonColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.POLYGON), strokeColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.STROKE), highlightedPolygonColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_POLYGON), highlightedStrokeColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_STROKE))

Parameters

polygonColor

The color of the polygon in the AR overlay.

strokeColor

The color of the polygon border in the AR overlay.

highlightedPolygonColor

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

highlightedStrokeColor

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