florent37 / florent37/ShapeOfView
Clipping Image Based on Color of Mask
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 400
- PR merge metrics
- No merged PRs in 30d
Description
Hello Idean,
I am using Shape of View to clip my image into given shape Image. The image is clipped to the black opaque part of Shape Image. I have implemented it successfully.
But i want to know if is it possible that instead of opaque clip area, can i clip my photo on a particular colour or some transparent area of shape of you drawable with this library?
I have noticed that you are using
clipPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.DST_IN)); canvas.drawBitmap(clipBitmap, 0, 0, clipPaint);
What is the use of Clipmanager ?
Can we clipped image based on Color of mask area?
Can you please help me out with this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.