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 preferredHeight: 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 ), preferredHeight: Double = -1.0)
Properties
Link copied to clipboard
The viewfinder's aspect ratio.
Link copied to clipboard
The minimum insets of the viewfinder.
Link copied to clipboard
The color of the viewfinder overlay.
Link copied to clipboard
The preferred height of the viewfinder.
Link copied to clipboard
The visual appearance of the viewfinder.