summaryrefslogtreecommitdiff
path: root/graphics/java
diff options
context:
space:
mode:
author Christos Gkekas <gkekas@google.com> 2022-01-11 12:52:27 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-01-11 12:52:27 +0000
commit63cae6de60779e5bf950055294d0824c080894b5 (patch)
treefa8870b7369b03477bc4a053d247cce26d33fdf3 /graphics/java
parent9a42318fcdd3129dd417f8754498d893c8f997bf (diff)
parent3f33f3d178b0adc2afb0b4e3fc42b6a9f5882402 (diff)
Merge "Fix documentation of Outline#setRect(int, int, int, int)" am: 2a3830faab am: 5cb92ff104 am: 4e95f53863 am: 3f33f3d178
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1904030 Change-Id: Ia2717533e269fb44bf9977d87afa5d09a58c3a91
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 fc7f84c3c83e..618e6dcc4433 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)}
*/