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

dropShadow filter does not work #40

Open
9tontruck opened this issue Apr 14, 2014 · 1 comment
Open

dropShadow filter does not work #40

9tontruck opened this issue Apr 14, 2014 · 1 comment

Comments

@9tontruck
Copy link

I don't know if I should post any SVG parsing errers but here's what I found.

I can't not post any svg tags here. So check the dropShadow filter in below link
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur

This code should draw green circle with a shadow below it but in AS3SVGRenderer, it just draws blurred green circle.

@lucaslorentz
Copy link
Owner

That kind of filter is very complex.
For now, the library has a very limited support to filters. It knows how to apply ColorMatrix and GaussianBlur directly on the element.
I don't know when, or if I will add that feature.

Maybe, the library shouldn't try to apply the filter when it is not capable of doing that. That way, your svg would not be rendered with a wrong blur. What do you think?

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

2 participants