Style

@Immutable
data class Style(val polygonColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.POLYGON), val strokeColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.STROKE), val highlightedPolygonColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_POLYGON), val highlightedStrokeColor: ScanbotColor = ScanbotColor(OverlayColorsDefaults.HIGHLIGHTED_STROKE)) : ArOverlayPolygonConfiguration

The style configuration for the polygon in the AR overlay.

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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard