diff options
| author | 2022-01-11 12:13:56 +0000 | |
|---|---|---|
| committer | 2022-01-11 12:13:56 +0000 | |
| commit | 5cb92ff104e79d44b84b97063cbe2e3becd255f4 (patch) | |
| tree | 1f5407f695488f52f0a063114516beaed5f20129 | |
| parent | e6c1b94120ba8af39cf704a4aef858ac38de1243 (diff) | |
| parent | 2a3830faabb4eeb03f47b7796b0c262cddab1fd2 (diff) | |
Merge "Fix documentation of Outline#setRect(int, int, int, int)" am: 2a3830faab
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1904030
Change-Id: If6d87015f789ac11629f1da9c1a81d93b29b9c6f
| -rw-r--r-- | graphics/java/android/graphics/Outline.java | 5 |
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)} */ |