BackgroundStyle

data class BackgroundStyle(var strokeColor: ScanbotColor = ScanbotColor("#FFFFFFFF", isArgb = false), var fillColor: ScanbotColor = ScanbotColor("#FFFFFF30", isArgb = false), var strokeWidth: Double = 2.0)

Appearance of the polygon used for buttons and hint backgrounds.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(strokeColor: ScanbotColor = ScanbotColor("#FFFFFFFF", isArgb = false), fillColor: ScanbotColor = ScanbotColor("#FFFFFF30", isArgb = false), strokeWidth: Double = 2.0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Polygon color. Default is "#FFFFFF30"

Link copied to clipboard

Color of the polygon outline. Default is "#FFFFFFFF"

Link copied to clipboard

Width of the polygon outline in dp. Default is 2.0

Functions

Link copied to clipboard
fun toJson(): JsonObject