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

老哥,好久不见,刚好项目要用到一些动画,毫无思路,刚好看到你的项目 #9

Open
TsaiYongChuan opened this issue Mar 9, 2020 · 1 comment

Comments

@TsaiYongChuan
Copy link

谢谢老哥慷慨开源,想请教下,比如棱形效果,如果需要多重渐变覆盖,能不能提供下思路,就是动画在收缩/打开到一半的时候后面换一种颜色覆盖重复,以此类推,达到多种颜色动画渐变的效果

@wangpeiming110
Copy link
Owner

目前这些动画是基于父View对canvas的操作实现的,比如canvas.clipPath
如果也考虑基于此填颜色的话,可以尝试下canvas.drawColor

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