Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

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

Closed
sonuraj9 opened this issue Mar 23, 2016 · 3 comments
Closed

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

sonuraj9 opened this issue Mar 23, 2016 · 3 comments

Comments

@sonuraj9
Copy link

No description provided.

@eveliotc
Copy link
Contributor

This is not supported, PRs welcome :)

@damien5314
Copy link
Contributor

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.

quizlet@6bc9a1c

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
Copy link

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

tildedave pushed a commit that referenced this issue May 11, 2017
* Added method and attribute for drawing oval overlay

* Setting the viewport Paint to be anti-aliased

* Adding a method to limit cropped image width and height

* Use enum attribute to specify shape of CropView (#2)

* Change isOval attribute to an enum with shape values

* Comments

* Only set anti-alias Paint flag when required

* Revert sample Activity layout

* Comments

* Reverting unneeded changes

* Add entry to CHANGELOG.md

* Updates from CR
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants