ArOverlayPolygonConfiguration

Types

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

Link copied to clipboard
@Immutable
data class StyleForBarcodeItem(val onBarcodeItemStyle: (barcodeItem: BarcodeItem) -> ArOverlayPolygonConfiguration.Style) : ArOverlayPolygonConfiguration

The style configuration for the polygon in the AR overlay based on the detected barcode item.