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
Since drawing unclosed polylines has plenty of use-cases, perhaps this behaviour should be parametrized, and unified across the different drawing implementations?
The text was updated successfully, but these errors were encountered:
I noticed that
polyStroke()
has a quirk, where given 2 or 5 arguments, it draws unclosed polygons, i.e.:When given 3 arguments however, it doesn't draw anything. I'm guessing this behavior appears because this:
...would return
NaN
Since drawing unclosed polylines has plenty of use-cases, perhaps this behaviour should be parametrized, and unified across the different drawing implementations?
The text was updated successfully, but these errors were encountered: