lyft / scissors

✂ Android image cropping library
https://eng.lyft.com/scissors-an-image-cropping-library-for-android-a56369154a19
Apache License 2.0
1.84k stars 236 forks source link

How can I make cropView's corners round ? #39

Closed sonuraj9 closed 7 years ago

eveliotc commented 8 years ago

This is not supported, PRs welcome :)

damien5314 commented 8 years ago

I have a requirement to draw a circular overlay, while maintaining the cropped image as the bounding rectangle of that circle. This library is 98% of the way there for that use case, I just needed to add a method to fill in the corners of the bounded rectangle in the overlay.

https://github.com/damien5314/scissors/commit/6bc9a1c5695b99de0c1792185e28aafa2b64983e

I think this use case is pretty specific, but if it would be useful to add to the library, I can clean it up and submit a PR. Just thought I would mention it in case anyone's trying to do the same thing.

tildedave commented 7 years ago

Hi there, closing this as it's pretty old. Feel free to reopen if you're still having this issue.