public void setPoints(Polyline view, string points) { PointsParser pp = new PointsParser(points); view.Points = pp.getPoints(); }