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
This commit is contained in:
Christos Gkekas
2022-01-11 12:13:56 +00:00
committed by Automerger Merge Worker

View File

@@ -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)}
*/