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

Style支持filter属性,允许使用滤镜效果 #501

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Style支持filter属性,允许使用滤镜效果 #501

wants to merge 1 commit into from

Conversation

JoV5
Copy link
Contributor

@JoV5 JoV5 commented Sep 9, 2019

允许使用滤镜效果

@pissang
Copy link
Contributor

pissang commented Sep 10, 2019

谢谢,能否去掉构建的文件?以及 package.json 里的 name 也不要改掉

@JoV5
Copy link
Contributor Author

JoV5 commented Sep 10, 2019

谢谢,能否去掉构建的文件?以及 package.json 里的 name 也不要改掉

我的需求是对整个画布加滤镜,实现类似chart.xkcd的效果,后来发现可以直接在容器加filter属性解决。所以在Style上加filter的需求是对画布内部分元素加滤镜,我试了一下似乎会导致动画卡顿,另外Text可能也需要处理filter属性。

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

Successfully merging this pull request may close these issues.

2 participants