FinderStrokedStyle

data class FinderStrokedStyle(var strokeColor: ScanbotColor = ScanbotColor("#FFFFFFFF", isArgb = false), var strokeWidth: Double = 3.0, var cornerRadius: Double = 10.0) : FinderStyle

Variant of the viewfinder displaying a full outline of the scanning area as user guidance.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val _type: String
Link copied to clipboard

The viewfinder's corner radius. Default is 10.0

Link copied to clipboard

Color of the viewfinder's outline. Default is "#FFFFFFFF"

Link copied to clipboard

Width of the viewfinder's outline. Default is 3.0

Functions

Link copied to clipboard
open override fun toJson(): JsonObject