summaryrefslogtreecommitdiff
path: root/graphics/java
diff options
context:
space:
mode:
author Christos Gkekas <gkekas@google.com> 2022-01-11 12:26:54 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-01-11 12:26:54 +0000
commit4e95f53863c2ea81da6638aba03b576199d90988 (patch)
tree72c96c8f6633b2be92a38f9ce5006a82aa6789a0 /graphics/java
parent9d00b2224a870da7c22a872a76885557c0004da7 (diff)
parent5cb92ff104e79d44b84b97063cbe2e3becd255f4 (diff)
Merge "Fix documentation of Outline#setRect(int, int, int, int)" am: 2a3830faab am: 5cb92ff104
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1904030 Change-Id: I7679187e5e51bd61c2d034bd92d79863a4725331
Diffstat (limited to 'graphics/java')
-rw-r--r--graphics/java/android/graphics/Outline.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/java/android/graphics/Outline.java b/graphics/java/android/graphics/Outline.java
index 5858e3988486..a8a66403cd79 100644
--- a/graphics/java/android/graphics/Outline.java
+++ b/graphics/java/android/graphics/Outline.java
@@ -169,8 +169,7 @@ public final class Outline {
}
/**
- * Sets the Outline to the rounded rect defined by the input rect, and
- * corner radius.
+ * Sets the Outline to the rect defined by the input coordinates.
*/
public void setRect(int left, int top, int right, int bottom) {
setRoundRect(left, top, right, bottom, 0.0f);
@@ -184,7 +183,7 @@ public final class Outline {
}
/**
- * Sets the Outline to the rounded rect defined by the input rect, and corner radius.
+ * Sets the Outline to the rounded rect defined by the input coordinates and corner radius.
* <p>
* Passing a zero radius is equivalent to calling {@link #setRect(int, int, int, int)}
*/