def METHOD_NAME(self, verts):
    self.poly_path = Path(verts)
    self.mask = self.poly_path.contains_points(self.coords).reshape(self.length,
                                                                    self.width)
    self.canvas.draw_idle()