outRect function
extended_image_gesture_utils.dart create by zmtzawqlp on 2019/4/3
gesture whether gesture rect is out size
Implementation
///gesture
///whether gesture rect is out size
bool outRect(Rect rect, Rect destinationRect) {
return doubleCompare(destinationRect.top, rect.top) < 0 ||
doubleCompare(destinationRect.left, rect.left) < 0 ||
doubleCompare(destinationRect.right, rect.right) > 0 ||
doubleCompare(destinationRect.bottom, rect.bottom) > 0;
}