polyline
元素是SVG的一个基本形状,用来创建一系列直线连接多个点。典型的一个polyline
是用来创建一个开放的形状,最后一点不与第一点相连。欲了解闭合形状,请看<polygon>
元素。
用法
示例
属性
全局属性
专有属性
DOM 接口
该元素实现了SVGPolylineElement
接口。
浏览器支持
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Chrome | Firefox (Gecko) | IE | Opera | Safari |
---|---|---|---|---|---|
Basic support | 1.0 | 1.5 (1.8) | 9.0 | 8.0 | 3.0.4 |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 3.0 | 1.0 (1.8) | 未实现 | (Yes) | 3.0.4 |
该表格基于这些资源。