Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make gif picture Rounded #202

Closed
cloudsoar opened this issue Aug 30, 2015 · 4 comments
Closed

How to make gif picture Rounded #202

cloudsoar opened this issue Aug 30, 2015 · 4 comments

Comments

@cloudsoar
Copy link

No description provided.

@koral--
Copy link
Owner

koral-- commented Sep 6, 2015

That should be possible using BitmapShader. Namely: create a BitmapShader using frame buffer, set it in Paint and draw rounded rectangle with that Paint.
I'll try to prepare code doing that ASAP.

koral-- added a commit that referenced this issue Sep 20, 2015
@koral--
Copy link
Owner

koral-- commented Sep 20, 2015

See commit linked above. GifDrawable#setCornerRadius() has been added. Pass radius=0 to remove rounding.
I think it will be good idea to add that method to the next version of the library, so I am leaving this issue open.

@sachindsilva16
Copy link

Is that possible through mark up?

@koral--
Copy link
Owner

koral-- commented Feb 26, 2023

Please create a new issue and elaborate on what "mark up" means.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants