Updated Outline.offset() docs to clarify behavior
Bug: 202063656 Test: N/A, but added CTS sub-test for untested behavior Change-Id: I86dc415879b23b92b9283c822094d4b811cd796f
This commit is contained in:
@@ -312,7 +312,10 @@ public final class Outline {
|
||||
}
|
||||
|
||||
/**
|
||||
* Offsets the Outline by (dx,dy)
|
||||
* Offsets the Outline by (dx,dy). Offsetting is cumulative, so additional calls to
|
||||
* offset() will add to previous offset values. Offset only applies to the current
|
||||
* geometry (setRect(), setPath(), etc.); setting new geometry resets any existing
|
||||
* offset.
|
||||
*/
|
||||
public void offset(int dx, int dy) {
|
||||
if (mMode == MODE_ROUND_RECT) {
|
||||
|
||||
Reference in New Issue
Block a user