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

【Bug】Line绘制多折线在cornerRadius较大是会出现毛刺 #356

Open
ysyes opened this issue Feb 17, 2025 · 2 comments
Open

【Bug】Line绘制多折线在cornerRadius较大是会出现毛刺 #356

ysyes opened this issue Feb 17, 2025 · 2 comments

Comments

@ysyes
Copy link

ysyes commented Feb 17, 2025

Line绘制折线,points拐点间隔小,且cornerRadius较大时,绘制出的圆弧会出现毛刺

环境:Mac mini + MacOS 15.3.1 (24D70) + chrome 133.0 + leaferjs 1.4.0

Image

{
"stroke": "black",
"strokeWidth": 1,
"cornerRadius": 5,
"tag": "Line",
"points": [
475,
-35,
475,
63,
475.62573786016094,
63.04924663761945,
476.2360679774998,
63.195773934819385,
476.8159619989582,
63.43597390324653,
477.3511410091699,
63.763932022500214,
477.8284271247462,
64.17157287525382,
478.2360679774998,
64.6488589908301,
478.5640260967535,
65.18403800104181,
478.8042260651806,
65.76393202250021,
478.95075336238057,
66.37426213983908,
479,
67,
478.95075336238057,
67.62573786016092,
478.8042260651806,
68.23606797749979,
478.5640260967535,
68.81596199895819,
478.2360679774998,
69.3511410091699,
477.8284271247462,
69.82842712474618,
477.3511410091699,
70.23606797749979,
476.8159619989582,
70.56402609675347,
476.2360679774998,
70.80422606518061,
475.62573786016094,
70.95075336238055,
475,
71,
475,
135
]
}

@leaferjs
Copy link
Owner

收到,谢谢反馈~

@leaferjs
Copy link
Owner

已修复,等待新版本发布

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