ViewFinderConfiguration
data class ViewFinderConfiguration(var visible: Boolean = true, var style: FinderStyle = FinderCorneredStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), strokeWidth = 2.0, cornerRadius = 10.0 ), var overlayColor: ScanbotColor = ScanbotColor("?sbColorSurfaceLow", isArgb = false), var aspectRatio: AspectRatio = AspectRatio( width = 1.0, height = 1.0 ))
Configuration of the scanning interface's viewfinder, serving as guidance to the user.
Constructors
Link copied to clipboard
constructor(json: JsonObject)
constructor(visible: Boolean = true, style: FinderStyle = FinderCorneredStyle( strokeColor = ScanbotColor("?sbColorSurface", isArgb = false), strokeWidth = 2.0, cornerRadius = 10.0 ), overlayColor: ScanbotColor = ScanbotColor("?sbColorSurfaceLow", isArgb = false), aspectRatio: AspectRatio = AspectRatio( width = 1.0, height = 1.0 ))