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

conic-gradient support? #1372

Open
danfitz36 opened this issue Jun 1, 2021 · 3 comments
Open

conic-gradient support? #1372

danfitz36 opened this issue Jun 1, 2021 · 3 comments
Labels
feature New feature that should be supported

Comments

@danfitz36
Copy link

does v53 have this? i saw that some other gradient things might be fixed.

@liZe liZe added the feature New feature that should be supported label Jun 4, 2021
@liZe
Copy link
Member

liZe commented Jun 4, 2021

Hello!

It’s not in version 53, but it would be a good thing to have! It’s not easy, because conic gradients are not directly supported in PDF, but they probably can be implemented using mesh patterns.

@danfitz36
Copy link
Author

I'm hoping to do something like this, if there's another way I'd love to explore it. that entire circle can be made with a single gradient, but i'm not sure how else to make it work. for now i'm using an svg with a flat color.

conic

@liZe
Copy link
Member

liZe commented Jun 4, 2021

Using a green elliptical arc curve in front of a white circle should work too. It’s not easy to get the right parameters, but definitely possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature that should be supported
Projects
None yet
Development

No branches or pull requests

2 participants