You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I talked about it in this commit. However as I'm not a regular github user I think it will be easier to comment here.
I understand that path.addPolygon is better than path.lineTo (comment).
But I notice that path.addPolygon needs at least 2 points. In my case, I have to display lines with only 1 point.
Thus would it be possible to be sure the line is drawn even if it has only 1 point.
The text was updated successfully, but these errors were encountered:
paul-gdy
added
bug
This issue reports broken functionality or another error
needs triage
This new bug report needs reproducing and prioritizing
labels
Jun 13, 2022
Just for clarity, a line needs 2 points as well, it's just that the original had a bug in it, and added a duplicate 1st point by mistake (no matter how long the line). addPolygon just randomly happened to avoid that...(I'm not necessarily a fan of having a 2 point polygon, but I'll stay out of that one :D).
Is there a particular reason you can't add a 2nd identical point to your list ? That would be the correct thing to do.
Hi,
I talked about it in this commit. However as I'm not a regular github user I think it will be easier to comment here.
I understand that
path.addPolygon
is better thanpath.lineTo
(comment).But I notice that
path.addPolygon
needs at least 2 points. In my case, I have to display lines with only 1 point.Thus would it be possible to be sure the line is drawn even if it has only 1 point.
The text was updated successfully, but these errors were encountered: