IconButton

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

Configuration of the icon appearance on a button.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The text to be read when the button is selected through accessibility mode.

Link copied to clipboard

The icon color.

Link copied to clipboard

Determines whether the icon is visible on the button.

Functions

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