RoundButton
data class RoundButton(var visible: Boolean = true, var accessibilityDescription: String = "", var backgroundColor: ScanbotColor = ScanbotColor("#0000007A", isArgb = false), var foregroundColor: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), var activeBackgroundColor: ScanbotColor = ScanbotColor("#FFCE5C", isArgb = false), var activeForegroundColor: ScanbotColor = ScanbotColor("#1C1B1F", isArgb = false))
Configuration of the round button.
Constructors
Link copied to clipboard
constructor(json: JsonObject)
constructor(visible: Boolean = true, accessibilityDescription: String = "", backgroundColor: ScanbotColor = ScanbotColor("#0000007A", isArgb = false), foregroundColor: ScanbotColor = ScanbotColor("#FFFFFF", isArgb = false), activeBackgroundColor: ScanbotColor = ScanbotColor("#FFCE5C", isArgb = false), activeForegroundColor: ScanbotColor = ScanbotColor("#1C1B1F", isArgb = false))
Properties
Link copied to clipboard
The text to be read when button is selected through accessibility mode. Default is ""
Link copied to clipboard
Color of the button background shape when the button is active (selected, toggled). Default is "#FFCE5C"
Link copied to clipboard
Color of the button foreground (icon, text) when the button is active (selected, toggled). Default is "#1C1B1F"
Link copied to clipboard
Color of the button background shape. Default is "#0000007A"
Link copied to clipboard
Color of the button foreground (icon, text). Default is "#FFFFFF"