class_docstr: (Experimental) WCK-style drawing interface
docstr: Draws a polygon.
  
  The polygon outline consists of straight lines between the given
  coordinates, plus a straight line between the last and the first
  coordinate.
  
  
  .. seealso:: :py:meth:`PIL.ImageDraw.ImageDraw.polygon`
docstr_tok: ["Draws","a","polygon",".","The","polygon","outline","consists","of","straight","lines","between","the","given","coordinates",",","plus","a","straight","line","between","the","last","and","the","first","coordinate",".","..","seealso",":",":",":","py",":","meth",":","`","PIL.ImageDraw.ImageDraw.polygon","`"]
code: def polygon(self, xy, *options):
      """
      Draws a polygon.
  
      The polygon outline consists of straight lines between the given
      coordinates, plus a straight line between the last and the first
      coordinate.
  
  
      .. seealso:: :py:meth:`PIL.ImageDraw.ImageDraw.polygon`
      """
      self.render("polygon", xy, *options)
  
imports: from .None import Image, ImageColor, ImageDraw, ImageFont, ImagePath
label_desc: Use image node_id 10 for calling the Draw obj's underlying member method code with example usage: obj.polygon(xy) without return types