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

[g-plugin-device-renderer] Path 支持渐变描边 #1502

Closed
xiaoiver opened this issue Aug 28, 2023 · 0 comments
Closed

[g-plugin-device-renderer] Path 支持渐变描边 #1502

xiaoiver opened this issue Aug 28, 2023 · 0 comments
Assignees

Comments

@xiaoiver
Copy link
Contributor

xiaoiver commented Aug 28, 2023

three.js fatline 实现渐变的方式是设置顶点属性颜色,通过插值进行渐变。但这需要将 Path 分割成多个小段:
https://github.com/vasturiano/three-fatline/

还是想通过贴图方式实现,使用 Canvas2D 创建渐变或者 Pattern。

@xiaoiver xiaoiver self-assigned this Aug 28, 2023
@xiaoiver xiaoiver closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant