SVGPolygonElement constructor

SVGPolygonElement()

Creates an SVGPolygonElement using the tag 'polygon'.

Implementation

SVGPolygonElement()
    : _ = document.createElementNS(
        'http://www.w3.org/2000/svg',
        'polygon',
      );