I want to crop bitmap, but there's only rectangle examples in internet.
I want to crop only red parts of image or just make that part transparent to see background.
But how can I do that?
By the way, I created image class containing, base rect and 4 points to draw trapezoid. I use canvas.drawLine method with 4 points and use RectF to draw bitmap.