diff options
Diffstat (limited to 'src/com/android/gallery3d/filtershow/imageshow/EclipseControl.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/imageshow/EclipseControl.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/imageshow/EclipseControl.java b/src/com/android/gallery3d/filtershow/imageshow/EclipseControl.java index 24791887d..b4ca8e1f1 100644 --- a/src/com/android/gallery3d/filtershow/imageshow/EclipseControl.java +++ b/src/com/android/gallery3d/filtershow/imageshow/EclipseControl.java @@ -249,4 +249,8 @@ public class EclipseControl { fillHandles(canvas, mCenterX, mCenterY, mRadiusX, mRadiusY); paintPoint(canvas, mCenterX, mCenterY); } + + public boolean isUndefined() { + return Float.isNaN(mCenterX); + } } |