Hi GreenSock team 👋
I was reviewing the documentation for MorphSVGPlugin.rawPathToString() here:
https://gsap.com/docs/v3/Plugins/MorphSVGPlugin/static.rawPathToString/
At the end of that section, the docs mention:
"There is also a corresponding MorphSVGPlugin.rawPathToString() method so that you can convert back and forth."
I believe this may be a copy-paste error. Since we are already in the documentation of rawPathToString(), the correct corresponding method should be MorphSVGPlugin.stringToRawPath().
That way, the two functions can be seen as converting:
RawPath → string: with rawPathToString()
string → RawPath: with stringToRawPath()
In contrast, the documentation for stringToRawPath() does correctly mention rawPathToString() as its counterpart:
https://gsap.com/docs/v3/Plugins/MorphSVGPlugin/static.stringToRawPath/
Just wanted to help improve the clarity of the docs.