web api interface
SVGPolygonElement
The SVGPolygonElement interface provides access to the properties of <polygon> elements, as well as methods to manipulate them.
Instance properties
This interface also inherits properties from its parent, SVGGeometryElement.
animatedPointsRead only- : An
SVGPointListrepresenting the animated value of the element’spointsattribute. If thepointsattribute is not being animated, it contains the same value as thepointsproperty.
- : An
points- : An
SVGPointListrepresenting the base (i.e., static) value of the element’spointsattribute. Modifications via theSVGPointListobject are reflected in thepointsattribute, and vice versa.
- : An
Instance methods
This interface doesn’t implement any specific methods, but inherits methods from its parent, SVGGeometryElement.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.