polyline.toString()

Returns the polyline as a string.

new g.Polyline('10,10 20,20 30,30').toString() = "10@10,20@20,30@30"