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

Gradients #251

Open
mmojbo opened this issue Mar 6, 2020 · 1 comment
Open

Gradients #251

mmojbo opened this issue Mar 6, 2020 · 1 comment
Labels

Comments

@mmojbo
Copy link

mmojbo commented Mar 6, 2020

thanks for this lib.

how can i set gradient overlay to my image?

@claviska
Copy link
Owner

claviska commented Mar 7, 2020

This isn’t currently supported, but it’s a good idea. A quick search brought me to this which might be a good starting point.

I imagine the function would be called gradient and it would work like fill, except with two or more colors and an angle argument. Bonus points if it supports opacity as well.

Anyone want to take a stab at it?

@claviska claviska changed the title how to set gradient overlay Gradients Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants