isValid Property

val isValid: Boolean

Whether the corners still form a usable shape.

Checks point order and self-intersection. Use it to reject a crop the user has dragged into an impossible shape before passing it to processing.

Top