Interface IFinderViewController
-
- All Implemented Interfaces:
public interface IFinderViewController
Base interface to control the state or the behavior of the Finder inside
-
-
Method Summary
Modifier and Type Method Description abstract Unit
setFinderEnabled(Boolean enabled)
Controls if the Finder view should be displayed and used in calculation of the area passed to recognizers abstract Unit
addTopPlaceholder(View view)
Add view on top of the finder window| | | topPlaceholder | || | | | | || | | | | |_________________| abstract Unit
addBottomPlaceholder(View view)
Add view on bottom of the finder window| | | | || | | | | || | | |bottomPlaceholder| |_________________| abstract Unit
addFinderPlaceholder(View view)
Add view inside of the finder window| | | | || | | | finderWindow | || | | | | |_________________| abstract Unit
setOverlayColor(Integer overlayColor)
Changes fill color of the Finder view abstract Unit
setStrokeColor(Integer strokeColor)
Changes stroke color of the Finder view. abstract Unit
setRequiredAspectRatios(List<AspectRatio> requiredAspectRatios)
Set required {@link PageAspectRatio}s. abstract Unit
setStrokeWidth(Integer strokeWidth)
Changes stroke width of the Finder view. abstract Unit
setFinderMinPadding(Integer padding)
Changes finder view padding to screen edges abstract Unit
setFinderInset(Integer left, Integer top, Integer right, Integer bottom)
Changes finder view padding to screen edgesSet value or null if you need to left default value abstract Unit
setSafeAreaInset(Integer left, Integer top, Integer right, Integer bottom)
Changes additional finder view paddings that works as safe area to the others viewsSet value or null if you need to left default value abstract Unit
setAutoSnappingProgressStrokeColor(Integer color)
Changes stroke color of the polygon animated progress line. abstract Unit
setAutoSnappingProgressStrokeWidth(Integer width)
Changes width of the stroke of the autosnapping animated polygon. abstract Unit
setAutoSnapProgressEnabled(Boolean enabled)
Changes if there is an animation should be played during the time when the user need to wait after the document was detected -
-
Method Detail
-
setFinderEnabled
abstract Unit setFinderEnabled(Boolean enabled)
Controls if the Finder view should be displayed and used in calculation of the area passed to recognizers
- Parameters:
enabled
- controls if the Finder view should be displayed and used in calculation passed to recognizers
-
addTopPlaceholder
abstract Unit addTopPlaceholder(View view)
Add view on top of the finder window
| | | topPlaceholder | || | | | | || | | | | |_________________|
-
addBottomPlaceholder
abstract Unit addBottomPlaceholder(View view)
Add view on bottom of the finder window
| | | | || | | | | || | | |bottomPlaceholder| |_________________|
-
addFinderPlaceholder
abstract Unit addFinderPlaceholder(View view)
Add view inside of the finder window
| | | | || | | | finderWindow | || | | | | |_________________|
-
setOverlayColor
abstract Unit setOverlayColor(Integer overlayColor)
Changes fill color of the Finder view
- Parameters:
overlayColor
- color (not resource!) to draw Finder overlay with.
-
setStrokeColor
abstract Unit setStrokeColor(Integer strokeColor)
Changes stroke color of the Finder view.
- Parameters:
strokeColor
- color (not resource!) to draw Finder overlay lines with.
-
setRequiredAspectRatios
abstract Unit setRequiredAspectRatios(List<AspectRatio> requiredAspectRatios)
Set required {@link PageAspectRatio}s.
-
setStrokeWidth
abstract Unit setStrokeWidth(Integer strokeWidth)
Changes stroke width of the Finder view.
- Parameters:
strokeWidth
- width (not resource!) to draw Finder overlay lines with.
-
setFinderMinPadding
abstract Unit setFinderMinPadding(Integer padding)
Changes finder view padding to screen edges
- Parameters:
padding
- value of padding in pixels
-
setFinderInset
abstract Unit setFinderInset(Integer left, Integer top, Integer right, Integer bottom)
Changes finder view padding to screen edges
Set value or null if you need to left default value
-
setSafeAreaInset
abstract Unit setSafeAreaInset(Integer left, Integer top, Integer right, Integer bottom)
Changes additional finder view paddings that works as safe area to the others views
Set value or null if you need to left default value
-
setAutoSnappingProgressStrokeColor
abstract Unit setAutoSnappingProgressStrokeColor(Integer color)
Changes stroke color of the polygon animated progress line.
- Parameters:
color
- color to draw lines with.
-
setAutoSnappingProgressStrokeWidth
abstract Unit setAutoSnappingProgressStrokeWidth(Integer width)
Changes width of the stroke of the autosnapping animated polygon.
- Parameters:
width
- width of the stroke in pixels.
-
setAutoSnapProgressEnabled
abstract Unit setAutoSnapProgressEnabled(Boolean enabled)
Changes if there is an animation should be played during the time when the user need to wait after the document was detected
- Parameters:
enabled
- if the animation is enabled
-
-
-
-