蓝色=
canvas.drawRect(rect,paint); paint.setXfermode(new PorterDuffXfermode(Mode.DST_IN)); canvas.drawBitmap(mask,0.0f,paint);