drawable/src/main/java/am/drawable/PathDrawable.java
/**
     * Offset the path by (dx,dy)
     *
     * @param dx  The amount in the X direction to offset the entire path
     * @param dy  The amount in the Y direction to offset the entire path
     * @param dst The translated path is written here. If this is null, then
     *            the original path is modified.
     */
Offset the path by (dx,dy)
@param dx  The amount in the X direction to offset the entire path
@param dy  The amount in the Y direction to offset the entire path
@param dst The translated path is written here. If this is null, then
the original path is modified.
Offset the path by ( dx dy ) @param dx The amount in the X direction to offset the entire path @param dy The amount in the Y direction to offset the entire path @param dst The translated path is written here . If this is null then the original path is modified .
public void offset(float dx, float dy, Path dst) {
        mPath.offset(dx, dy, dst);
        if (dst == null) {
            invalidatePath();
        }
    }
public void offset ( float dx , float dy , Path dst ) { mPath . offset ( dx , dy , dst ) ; if ( dst == null ) { invalidatePath ( ) ; } }
Offset the path by (dx,dy)
 @param dx  The amount in the X direction to offset the entire path
 @param dy  The amount in the Y direction to offset the entire path
 @param dst The translated path is written here.
Offset the path by ( dx dy ) @param dx The amount in the X direction to offset the entire path @param dy The amount in the Y direction to offset the entire path @param dst The translated path is written here .