- mPaint = new Paint();
- mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SCREEN));
- Canvas canvas = new Canvas(Src);
- paint.setXfermode(new PorterDuffXfermode(Mode.SRC_IN));
- canvas.drawBitmap(Dst, 0f, 0f, paint);
本文共 347 字,大约阅读时间需要 1 分钟。
转载于:https://www.cnblogs.com/Free-Thinker/p/6722219.html