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

svgelements does not process linear or radial gradient #76

Open
tatarize opened this issue Dec 12, 2020 · 0 comments
Open

svgelements does not process linear or radial gradient #76

tatarize opened this issue Dec 12, 2020 · 0 comments

Comments

@tatarize
Copy link
Member

https://www.w3.org/TR/SVG/pservers.html#LinearGradientElement

These are URL referenced within the fill element. And link the radialGradient or linearGradient objects defined within the defs of the shadow tree. These would be parsed and linked to fill and stroke attribute of the various defined shapes. This may be a breaking change. As currently those objects would attempt to parse the URI as a string color fail to find it in the lookup table and determine it to default to black.

https://svgwrite.readthedocs.io/en/latest/classes/gradients.html

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

No branches or pull requests

1 participant