    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.

    new g.Path('M 150 100 L 100 100 C 100 100 0 150 100 200 Z').toString() = "M 150 100 L 100 100 C 100 100 0 150 100 200 Z"