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
Originally posted by BarbaraWebb May 24, 2023
It seems like you can use Path2D as a shortcut to create paths only if you want to then draw it as a filled path, but not as a stroke? canvas.fill will take a path as an argument but canvas.stroke will not. If I want to draw a complex shape that shows only as a line drawing (and repeat that shape several times in different places) what is the best way to do it?
The text was updated successfully, but these errors were encountered:
Ok I've put in pull request #350
I note that this lacks tests and lacks documentation. If someone can add these. I am happy to work with them on the PR at my fork at https://github.com/cleemesser/ipycanvas
Discussed in https://github.com/martinRenou/ipycanvas/discussions/333
Originally posted by BarbaraWebb May 24, 2023
It seems like you can use Path2D as a shortcut to create paths only if you want to then draw it as a filled path, but not as a stroke? canvas.fill will take a path as an argument but canvas.stroke will not. If I want to draw a complex shape that shows only as a line drawing (and repeat that shape several times in different places) what is the best way to do it?
The text was updated successfully, but these errors were encountered: