SVGPolygonElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

Das SVGPolygonElement-Interface bietet Zugriff auf die Eigenschaften von <polygon>-Elementen sowie Methoden zu ihrer Manipulation.

EventTarget Node Element SVGElement SVGGraphicsElement SVGGeometryElement SVGPolygonElement

Instanzeigenschaften

Dieses Interface erbt auch Eigenschaften von seinem Elternteil, SVGGeometryElement.

SVGPolygonElement.animatedPoints Schreibgeschützt

Eine SVGPointList, die den animierten Wert des points-Attributs des Elements darstellt. Wenn das points-Attribut nicht animiert wird, enthält es denselben Wert wie die points-Eigenschaft.

SVGPolygonElement.points

Eine SVGPointList, die den Basiswert (d. h. den statischen Wert) des points-Attributs des Elements darstellt. Änderungen über das SVGPointList-Objekt spiegeln sich im points-Attribut wider und umgekehrt.

Instanzmethoden

Dieses Interface implementiert keine spezifischen Methoden, erbt jedoch Methoden von seinem Elternteil, SVGGeometryElement.

Spezifikationen

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGPolygonElement

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
SVGPolygonElement
animatedPoints
points

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

Siehe auch