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
Is your feature request related to a problem? Please describe.
I would love to be able to give my own path generator script to react-sketch-canvas. For example on https://www.tldraw.com/ they have a few different brush types that use a custom generator to produce the SVG. It would be great to be able to drop in our own pens to react-sketch-canvas.
Describe the solution you'd like
Perhaps a way to pass a callback that receives the current path as an array and takes back an SVG path?
Thinking out loud here although I can imagine a callback something like the below:
Is your feature request related to a problem? Please describe.
I would love to be able to give my own path generator script to react-sketch-canvas. For example on https://www.tldraw.com/ they have a few different brush types that use a custom generator to produce the SVG. It would be great to be able to drop in our own pens to react-sketch-canvas.
Describe the solution you'd like
Perhaps a way to pass a callback that receives the current path as an array and takes back an SVG path?
Thinking out loud here although I can imagine a callback something like the below:
The text was updated successfully, but these errors were encountered: