Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, attrs: AttributeSet?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var animators: List<<Error class: unknown class>>

Functions

Link copied to clipboard
open override fun onAutoSnappingCanceled()

Triggers when autosnapping won't start within this delay

Link copied to clipboard
open override fun onAutoSnappingFinished()

Triggers when autosnapping is finished (it happens when camera returns taken picture)

Link copied to clipboard
open override fun onAutoSnappingIn(ms: Long)

Triggers when autosnapping will start in within delay

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
fun setCornerRadius(cornerRadius: Int)

Changes the radius of corners of the polygon

Link copied to clipboard
fun setDrawShadows(drawShadows: Boolean)

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

Link copied to clipboard
fun setFillColor(fillColor: Int)

Changes fill color of the polygon

Link copied to clipboard
fun setFillColorOK(fillColorOK: Int)

Changes fill color of the polygon when result is OK

Link copied to clipboard
fun setStrokeColor(strokeColor: Int)

Changes stroke color of the polygon.

Link copied to clipboard
fun setStrokeColorOK(strokeColorOK: Int)

Changes stroke color of the polygon when result is OK.

Link copied to clipboard
fun setStrokeWidth(strokeWidth: Int)

Changes width of the stroke of the polygon.