IconStyle

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

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

The icon color.

Link copied to clipboard

Determines whether the icon is visible or not.

Functions

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