使用上下文
| 类别 | 动画元素 |
|---|---|
| 允许的内容 | 任意数量、任意顺序的下列元素: 描述性元素 |
示例
html
<svg
width="120"
height="120"
viewBox="0 0 120 120"
xmlns="http://www.w3.org/2000/svg">
<polygon points="60,30 90,90 30,90">
<animateTransform
attributeName="transform"
attributeType="XML"
type="rotate"
from="0 60 70"
to="360 60 70"
dur="10s"
repeatCount="indefinite" />
</polygon>
</svg>
属性
DOM 接口
该元素实现了 SVGAnimateTransformElement 接口。
规范
| 规范 |
|---|
| SVG Animations Level 2> # AnimateTransformElement> |