Skip to content Skip to sidebar Skip to footer

Paint Xfermode Draws Black Line On Android 2.2

I am trying to erase some part of Image, so I am Creating a custom ImageView, so for erasing, I am using following paint to draw mPaint = new Paint(); mPaint.setAntiAlias(t

Solution 1:

I had similar issues and I fixed it by using Canvas.clipRect before calling super.onDraw(canvas).

This question helped me out: Clip round from image using xfermode in android

Post a Comment for "Paint Xfermode Draws Black Line On Android 2.2"