docstr: Draw a polygon.
docstr_tok: ["Draw","a","polygon","."]
code: def polygon(self, xy, fill=None, outline=None):
      """Draw a polygon."""
      ink, fill = self._getink(outline, fill)
      if fill is not None:
          self.draw.draw_polygon(xy, fill, 1)
      if ink is not None and ink != fill:
          self.draw.draw_polygon(xy, ink, 0)
  
imports: import math
  import numbers
  from .None import Image, ImageColor
  from ._util import isStringType
label_desc: Use image node_id 12 for calling the ImageDraw obj's underlying member method code with example usage: obj.polygon(xy, fill, outline) without return types