Answer the question
In order to leave comments, you need to log in
How to make PorterDuffXfermode on camera image in SurfaceView?
I want to do like this:
Canvas canvas = new Canvas(drawingBitmap);
Paint paint = new Paint();
canvas.drawBitmap(sourceBitmap, 0, 0, paint);
paint.setXfermode(new PorterDuffXfermode (android.graphics.PorterDuff.Mode.SCREEN)); // способ смешивания
canvas.drawBitmap(destinationBitmap, 0, 0, paint);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question