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
When drawing a path, to fill it, it seems I have to add the first point at the end again. The closePath function does that in JS. I would like an equivalent in the elm-canvas package. Or did I miss something?
The text was updated successfully, but these errors were encountered:
A related issue is that as far as I can tell, if you don't use closePath in the Canvas JS API then this creates artifacts if you want a fully closed shape. Eg: if you make a hexagon, and give it a stroke width of 10 pixels, then the path doesn't properly close and you get an ugly glitch where the path starts and stops.
When drawing a path, to fill it, it seems I have to add the first point at the end again. The
closePath
function does that in JS. I would like an equivalent in the elm-canvas package. Or did I miss something?The text was updated successfully, but these errors were encountered: