code: def get_points(self):
          
          if hasattr(self, 'points'):
              points = self.crdmap.to_data(self.points)
          else:
              points = []
          return points
docs: Get the set of points that is used to draw the object.
  
          Points are returned in *data* coordinates.