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

使用path或Polyline绘制路径,绘制的路径有问题 #268

Open
zhugqing opened this issue Aug 24, 2022 · 3 comments
Open

使用path或Polyline绘制路径,绘制的路径有问题 #268

zhugqing opened this issue Aug 24, 2022 · 3 comments

Comments

@zhugqing
Copy link

zhugqing commented Aug 24, 2022

绘制路径的顶点交叉绘制的时候,会出现如下图的情况,
对应的顶点数组points: [10, 55, 59, 55, 57, 51, 58, 56, 819, 265, 809, 255, 807, 251, 808, 256]
image

@akira-cn
Copy link
Contributor

akira-cn commented Sep 5, 2022

现在的path算法只能支持简单多边形,这种有交叉的情况确实会有问题。把渲染模式改成2D试试?

@zhugqing
Copy link
Author

zhugqing commented Sep 8, 2022

把渲染模式改成2D还是会有这样的问题

@akira-cn
Copy link
Contributor

akira-cn commented Nov 2, 2022

如果2D有问题,那就是按照这样的顶点规则生成的path本身就是这种效果?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants