ArOverlayPolygonConfiguration
data class ArOverlayPolygonConfiguration(var visible: Boolean = true, var deselected: PolygonStyle = PolygonStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 2.0, cornerRadius = 2.0 ), var selected: PolygonStyle = PolygonStyle( strokeColor = ScanbotColor("?sbColorPositive", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 2.0, cornerRadius = 2.0 ))
Configuration of the overlay polygon displayed on top of a barcode in the camera preview.
Constructors
Link copied to clipboard
constructor(json: JsonObject)
constructor(visible: Boolean = true, deselected: PolygonStyle = PolygonStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 2.0, cornerRadius = 2.0 ), selected: PolygonStyle = PolygonStyle( strokeColor = ScanbotColor("?sbColorPositive", isArgb = false), fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 2.0, cornerRadius = 2.0 ))