我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译
您也可以阅读此文章的English (US)版。

The SVGPolylineElement interface provides access to the properties of <polyline> 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 'SVGPolylineElement' 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 'SVGPolylineElement' in that specification.
Recommendation Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
SVGPolylineElementChrome Full support YesEdge Full support YesFirefox 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 YesEdge Mobile ? Firefox 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 ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
See implementation notes.
See implementation notes.

See also

文档标签和贡献者

最后编辑者: mdnwebdocs-bot,