path.toString()
Return the path represented as a string.
Whenever a Path object needs to be converted to a string for the SVG d
attribute, the path.serialize()
function should be used. It provides additional error checking to make sure that the path data string is valid.