FinderCorneredStyle

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

Variant of the viewfinder displaying only the four corners 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

Radius of the viewfinder's corners. Default is 10.0

Link copied to clipboard

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

Link copied to clipboard

Width of the viewfinder corner's outlines. Default is 3.0

Functions

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