Merge "Fix documentation of Outline#setRect(int, int, int, int)" am: 2a3830faab am: 5cb92ff104 am: 4e95f53863

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1904030

Change-Id: Ifed9baa2297d1d3ed492c7f8f79c7d15c6f1d843
This commit is contained in:
Christos Gkekas
2022-01-11 12:37:49 +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)}
*/