IFinderViewController

Base interface to control the state or the behavior of the Finder inside

Inheritors

Functions

Link copied to clipboard
abstract fun addBottomPlaceholder(view: View)

Add view on bottom of the finder window

Link copied to clipboard
abstract fun addFinderPlaceholder(view: View)

Add view inside of the finder window

Link copied to clipboard
abstract fun addTopPlaceholder(view: View)

Add view on top of the finder window

Link copied to clipboard

Changes stroke color of the polygon animated progress line.

Link copied to clipboard

Changes width of the stroke of the autosnapping animated polygon.

Link copied to clipboard
abstract fun setAutoSnapProgressEnabled(enabled: Boolean)

Changes if there is an animation should be played during the time when the user need to wait after the document was detected

Link copied to clipboard
abstract fun setFinderEnabled(enabled: Boolean)

Controls if the Finder view should be displayed and used in calculation of the area passed to recognizers

Link copied to clipboard
abstract fun setFinderInset(left: Int? = null, top: Int? = null, right: Int? = null, bottom: Int? = null)

Changes finder view padding to screen edges

Link copied to clipboard
abstract fun setFinderMinPadding(padding: Int)

Changes finder view padding to screen edges

Link copied to clipboard
abstract fun setOverlayColor(overlayColor: Int)

Changes fill color of the Finder view

Link copied to clipboard
abstract fun setRequiredAspectRatios(requiredAspectRatios: List<AspectRatio>)

Set required {@link PageAspectRatio}s.

Link copied to clipboard
abstract fun setSafeAreaInset(left: Int? = null, top: Int? = null, right: Int? = null, bottom: Int? = null)

Changes additional finder view paddings that works as safe area to the others views

Link copied to clipboard
abstract fun setStrokeColor(strokeColor: Int)

Changes stroke color of the Finder view.

Link copied to clipboard
abstract fun setStrokeWidth(strokeWidth: Int)

Changes stroke width of the Finder view.