ZoomOverlay

data class ZoomOverlay(var overlayColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false), var closeButton: ButtonConfiguration = ButtonConfiguration( text = "?zoomOverlayCancelButtonText", accessibilityDescription = "?accessibilityDescriptionZoomOverlayCancelButton", background = BackgroundStyle( fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) )) : Parcelable

Configuration of the zoom overlay for the review screen.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(overlayColor: ScanbotColor = ScanbotColor("?sbColorModalOverlay", isArgb = false), closeButton: ButtonConfiguration = ButtonConfiguration( text = "?zoomOverlayCancelButtonText", accessibilityDescription = "?accessibilityDescriptionZoomOverlayCancelButton", background = BackgroundStyle( fillColor = ScanbotColor("#00000000", isArgb = false), strokeWidth = 0.0 ), foreground = ForegroundStyle( color = ScanbotColor("?sbColorOnPrimary", isArgb = false) ) ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration of the 'close' button for the zoom overlay.

Link copied to clipboard

The background color of the zoom overlay.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject