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

希望支持track设置渐变色效果 #18

Open
stars-one opened this issue Aug 21, 2024 · 1 comment
Open

希望支持track设置渐变色效果 #18

stars-one opened this issue Aug 21, 2024 · 1 comment

Comments

@stars-one
Copy link

效果如下图所示

image

@litao0621
Copy link
Owner

渐变可以继承BaseEffect,在dispatchDrawTrackBefore中打断原有绘制逻辑,按原有逻辑添加paint shader进行实现,可以参考ColorPickEffect

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