您正位於 MDN Web Docs 的可編輯版本

以 MDN Web Docs 使用者身分檢視: https://developer.mozilla.org/zh-TW/docs/Web/API/SVGPolygonElement

我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

The SVGPolygonElement interface provides access to the properties of <polygon> elements, as well as methods to manipulate them.

Properties

This interface doesn't implement any specific properties, but inherits properties from its parent, SVGGeometryElement and also implements properties from SVGAnimatedPoints.

Methods

This interface doesn't implement any specific methods, but inherits methods from its parent, SVGGeometryElement.

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGPolygonElement' in that specification.
Candidate Recommendation Replaced the inheritance from SVGElementSVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, and SVGTransformable by SVGGeometryElement
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGPolygonElement' in that specification.
Recommendation Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
SVGPolygonElementChrome Full support YesEdge Full support 12
Notes
Full support 12
Notes
Notes Before Edge 79, this interface only implements the SVG 1.1 specification.
Firefox Full support Yes
Notes
Full support Yes
Notes
Notes Only implements the SVG 1.1 specification of the interface.
IE Full support 9
Notes
Full support 9
Notes
Notes Only implements the SVG 1.1 specification of the interface.
Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support Yes
Notes
Full support Yes
Notes
Notes Only implements the SVG 1.1 specification of the interface.
Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support
See implementation notes.
See implementation notes.

See also

文件標籤與貢獻者

最近更新: mdnwebdocs-bot,