PolygonCloseAutoSnappingPredicate

Checks consecutive frames polygons' position and allows only close ones (thus, no shaking) takes place.

Don't forget to call reset after successful snap.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun checkState(param: List<PointF>): Boolean

Run this check.

Link copied to clipboard
open override fun reset()

Reset possible internal counter, e.g. when snap was made.