@Override
    public void resize(int width, int height) {
        if (mRadii == null) {
            mPath = null;
        } else {

            if (mPath == null)
                mPath = new Path();
            else
                mPath.reset();


            if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP)
                mPath.addRoundRect(new RectF(0, 0, width, height), mRadii, Path.Direction.CW);
            else
                mPath.addRoundRect(0, 0, width, height, mRadii, Path.Direction.CW);
        }
    }
{@link net.qiujuer.genius.ui.drawable.TouchEffectDrawable.ClipFactory}
caprice/ui/src/main/java/net/qiujuer/genius/ui/drawable/factory/ClipFilletFactory.java