使用語境
| 分類 | 動畫元素 |
|---|---|
| 允許內容 | 可包含任意數量、任意順序的下列元素 描述性元素 |
示例
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 動畫級別 2 # AnimateTransformElement |
瀏覽器相容性
載入中…