class_docstr: Polygon representation of a mask
  
  # Arguments
      points: The vertices of the polygon in the COCO standard format.
code: def to_mask(self, h, w):
      return self.to_erles(h=h, w=w).to_mask(h=h, w=w)
  
imports: from icevision.imports import *
  from icevision.utils import *
  from PIL import Image
label_desc: Use image node_id 2 for calling the Polygon obj's underlying member method code with example usage: obj.to_mask(h, w) and returns: self