line.serialize()

Returns the line represented as an SVG points string. Example: "10,20 40,40"