FinderViewConfiguration

constructor(enabled: Boolean = true, lineWidth: Int = 2, lineColor: ScanbotColor = ScanbotColor("#FFFFFF"), backgroundColor: ScanbotColor = ScanbotColor("#000000A9"), aspectRatio: AspectRatio = AspectRatio(4.0, 3.0), insets: EdgeInsets = EdgeInsets(10.0, 10.0, 10.0, 10.0))

Parameters

enabled

Whether the finder overlay is enabled or not.

lineWidth

The width of the finder frame border.

lineColor

The color of the finder frame border.

backgroundColor

The background color of the detection overlay.

aspectRatio

The aspect ratio of the finder frame (width \ height), which is used to build the actual finder frame.

insets

The minimum space from view finders