我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。
SVG animated points interface
The SVGAnimatedPoints interface supports elements which have a points attribute which holds a list of coordinate values and which support the ability to animate that attribute.
Additionally, the points attribute on the original element accessed via the XML DOM (e.g., using the getAttribute() method call) will reflect any changes made to the SVGAnimatedPoints.points attribut.
Interface overview
| Also implement | None |
|---|---|
| Methods | None |
| Properties |
|
| Normative document | SVG 1.1 (2nd Edition) |
Properties
| Name | Type | Description |
|---|---|---|
points |
SVGPointList |
Provides access to the base (i.e., static) contents of the points attribute. |
animatedPoints |
SVGPointList |
Provides access to the current animated contents of the points attribute. If the given attribute or property is being animated, contains the current animated value of the attribute or property. If the given attribute or property is not currently being animated, contains the same value as points. |
Methods
The SVGAnimatedPoints interface do not provide any specific methods.
Browser compatibility
| Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|---|
| Basic support | ? | (Yes) | ? | ? | ? | ? |
| Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|
| Basic support | No support | (Yes) | ? | ? | ? | ? |