Open fWX228941 opened 5 years ago
Private Path mPath = new Path(); canvas.drawPath(mPath,mPaint[index]); canvas.clipPath(mPath);//支持任意形状的裁剪 mPath.reset();//重置 mPath.moveTo();//起始点 mPath.lineTo();//连线到下一点 mPath.close(); mPath.rQuadTo();//贝塞尔曲线
Rect/RectF