IconStyle

data class IconStyle(var visible: Boolean = true, var color: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false))

Configuration of the icon appearance.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Icon color. Default is "#FFFFFF"

Link copied to clipboard

Whether the icon is visible on the button. Default is true

Functions

Link copied to clipboard
fun toJson(): JsonObject