library/src/main/java/com/lsxiao/library/DraggableLayout.java
/**
     * calculate 5 points that we used to draw Bezier curve.
     * <p/>
     * if the circle's property has changed,you need to recalculate the position of these points.
     */
calculate 5 points that we used to draw Bezier curve.

if the circle's property has changed,you need to recalculate the position of these points.
calculate 5 points that we used to draw Bezier curve . if the circle ' s property has changed you need to recalculate the position of these points .
public void updatePoint() {
        mP1 = mFollowCircle.commonTangentIntersections(mTouchCircle)[0];
        mP2 = mFollowCircle.commonTangentIntersections(mTouchCircle)[1];
        mP3 = mFollowCircle.commonTangentIntersections(mTouchCircle)[2];
        mP4 = mFollowCircle.commonTangentIntersections(mTouchCircle)[3];
        mCP1 = new PointF((mP1.x + mP4.x) / 2, (mP1.y + mP4.y) / 2);
        mCP2 = new PointF((mP2.x + mP3.x) / 2, (mP2.y + mP3.y) / 2);
    }
public void updatePoint ( ) { mP1 = mFollowCircle . commonTangentIntersections ( mTouchCircle ) [ 0 ] ; mP2 = mFollowCircle . commonTangentIntersections ( mTouchCircle ) [ 1 ] ; mP3 = mFollowCircle . commonTangentIntersections ( mTouchCircle ) [ 2 ] ; mP4 = mFollowCircle . commonTangentIntersections ( mTouchCircle ) [ 3 ] ; mCP1 = new PointF ( ( mP1 . x + mP4 . x ) / 2 , ( mP1 . y + mP4 . y ) / 2 ) ; mCP2 = new PointF ( ( mP2 . x + mP3 . x ) / 2 , ( mP2 . y + mP3 . y ) / 2 ) ; }
calculate 5 points that we used to draw Bezier curve.
calculate 5 points that we used to draw Bezier curve .