SVGPolygonElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
TheSVGPolygonElement interface provides access to the properties of<polygon> elements, as well as methods to manipulate them.
In this article
Instance properties
This interface also inherits properties from its parent,SVGGeometryElement.
SVGPolygonElement.animatedPointsRead onlyAn
SVGPointListrepresenting the animated value of the element'spointsattribute. If thepointsattribute is not being animated, it contains the same value as thepointsproperty.SVGPolygonElement.pointsAn
SVGPointListrepresenting the base (i.e., static) value of the element'spointsattribute. Modifications via theSVGPointListobject are reflected in thepointsattribute, and vice versa.
Instance methods
This interface doesn't implement any specific methods, but inherits methods from its parent,SVGGeometryElement.
Specifications
| Specification |
|---|
| Scalable Vector Graphics (SVG) 2> # InterfaceSVGPolygonElement> |