ForegroundStyle

data class ForegroundStyle(var iconVisible: Boolean = true, var color: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), var useShadow: Boolean = false) : Parcelable

Configuration of the appearance for foreground elements (e.g. text and/or icons, etc).

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(iconVisible: Boolean = true, color: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), useShadow: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The color used for foreground elements.

Link copied to clipboard

Determines whether the icon is visible or not.

Link copied to clipboard

Determines whether to use drop shadows for foreground elements.

Functions

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