Add per vertex and per segment color to polyline geometry.