Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5150300 authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

Merge "Updated Outline.offset() docs to clarify behavior"

parents 31df739f 6ad394ac
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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) {