animateTransform 允许目标元件上的变换属性,由此允许动画控制平移,缩放,旋转和/或倾斜。
<?xml version="1.0"?>
<svg width="120" height="120" viewBox="0 0 120 120"
xmlns="http://www./2000/svg" version="1.1"
xmlns:xlink="http://www./1999/xlink" >
<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> - Conditional processing attributes »
- Animation event attributes »
- Animation attribute target attributes »
- Animation timing attributes »
- Animation value attributes »
- Animation addition attributes »
externalResourcesRequired
| | |
---|
SVG Animations Level 2The definition of '<animateTransform>' in that specification. | | | Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of '<animateTransform>' in that specification. | | |
本文档系腾讯云云+社区成员共同维护,如有问题请联系 yunjia_community@tencent.com
|