ScanAssistanceOverlay

data class ScanAssistanceOverlay(var visible: Boolean = true, var backgroundColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false), var foregroundColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false))

Configuration of the scan assistance overlay.

Constructors

Link copied to clipboard
constructor(visible: Boolean = true, backgroundColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false), foregroundColor: ScanbotColor = ScanbotColor("?sbColorSurface", isArgb = false))
constructor(source: Map<String, Any?>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The background color of the scan assistance overlay.

Link copied to clipboard

The foreground color of the scan assistance overlay image.

Link copied to clipboard

Determines whether the scan assistance overlay is visible or not. If the viewfinder is enabled, this flag is ignored and the scan assistance overlay is not displayed.

Functions

Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JsonObject
Link copied to clipboard
fun toJsonString(config: ToJsonConfiguration = ToJsonConfiguration.default()): String