I tried to reproduce the Linedrawing sample project with a heart and replacing the heart with a freeform curve. Unfortunately it doesn’t work and I get the following message
TypeError: path.getTotalLength is not a function. (In ‘path.getTotalLength()’, ‘path.getTotalLength’ is undefined)
This is working with SVG curves in other tools. What can be wrong?
The help manual contains the public APIs but I find reading back through old posts gives you a much better understanding of what Saola can do and how to use JS effectively.
And you can turn the API commands on in the editor: