diff options
author | Leon Scroggins <scroggo@google.com> | 2020-01-29 18:10:14 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-01-29 18:10:14 +0000 |
commit | e98ae477cca12478ce7956c4d03b7aa5fe2febdf (patch) | |
tree | e1b89b7286100f5a842df49fca28e2eb9c7abcd7 /graphics | |
parent | 715a1c654be8845f4e29370ad43e6a04a2a92bc7 (diff) | |
parent | 6a0cdd24df52283d5e22157f3ddc8a35671ea2d4 (diff) |
Merge "Deprecate Path#isConvex"
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/Path.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/Path.java b/graphics/java/android/graphics/Path.java index 1362fd864d29..84fe39290681 100644 --- a/graphics/java/android/graphics/Path.java +++ b/graphics/java/android/graphics/Path.java @@ -209,7 +209,13 @@ public class Path { * points, and cache the result. * * @return True if the path is convex. + * + * @deprecated This method is not reliable. The way convexity is computed may change from + * release to release, and convexity could change based on a matrix as well. This method was + * useful when non-convex Paths were unable to be used in certain contexts, but that is no + * longer the case. */ + @Deprecated public boolean isConvex() { return nIsConvex(mNativePath); } |