IPolygonViewController

Base interface to control the polygon view configuration inside the Classical component View

Inheritors

Functions

Changes stroke color of the polygon animated progress line.

Changes width of the stroke of the autosnapping animated polygon.

Link copied to clipboard

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 setPolygonCornerRadius(radius: Int)

Changes the radius of corners of the polygon

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

Enable shadows under the polygon stroke if poly fill is transparent.

Link copied to clipboard
abstract fun setPolygonFillColor(color: Int)

Changes fill color of the polygon

Link copied to clipboard
abstract fun setPolygonFillColorOK(color: Int)

Changes fill color of the polygon when result is OK

Link copied to clipboard
abstract fun setPolygonStrokeColor(color: Int)

Changes stroke color of the polygon.

Link copied to clipboard
abstract fun setPolygonStrokeColorOK(color: Int)

Changes stroke color of the polygon when result is OK.

Link copied to clipboard
abstract fun setPolygonStrokeWidth(width: Int)

Changes width of the stroke of the polygon.

Link copied to clipboard
abstract fun setPolygonViewVisible(isVisible: Boolean)

Controls the visibility of the contour of the detected document