Permanent View Finder Configuration
data class PermanentViewFinderConfiguration(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 ), var minimumInsets: EdgeInsets = EdgeInsets( top = 16.0, left = 16.0, bottom = 16.0, right = 16.0 ), var maxWidth: Double = -1.0, var maxHeight: Double = -1.0) : BaseViewFinderConfiguration, Parcelable
Configuration of the scanning interface’s viewfinder, which is always visible to guide the user.
Constructors
Link copied to clipboard
constructor(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 ), minimumInsets: EdgeInsets = EdgeInsets( top = 16.0, left = 16.0, bottom = 16.0, right = 16.0 ), maxWidth: Double = -1.0, maxHeight: Double = -1.0)