'Set the complete sequence of points displayed by this ROI.
**Arguments**
points        List of (x,y) tuples specifying handle locations to set.
closed        If bool, then this will set whether the ROI is closed
(the last point is connected to the first point). If
None, then the closed mode is left unchanged.'

def setPoints(self, points, closed=None):

    if (closed is not None):
        self.closed = closed
    self.clearPoints()
    for p in points:
        self.addFreeHandle(p)
    start = ((-1) if self.closed else 0)
    for i in range(start, (len(self.handles) - 1)):
        self.addSegment(self.handles[i]['item'], self.handles[(i + 1)]['item'])
