标签:
public void clear() { Paint paint = new Paint(); paint.setXfermode(new PorterDuffXfermode(Mode.CLEAR)); canvas.drawPaint(paint); paint.setXfermode(new PorterDuffXfermode(Mode.SRC)); invalidate(); }
详细请看:http://trylovecatch.iteye.com/blog/1189452
标签:
原文地址:http://www.cnblogs.com/csxcode/p/4174405.html