<animateTransform type="変換の種類" ……略…… />typeで変換の種類を指定することで、指定の形に変形をしていきます。それぞれの変化は、<animate>でおなじみのfrom, toといった属性で用意しておくことが出来ます。問題はtypeにどういう値が用意できるか、でしょう。これは以下のようなものになります。
※リストが表示されない場合
AddBlockなどの広告ブロックツールがONになっているとリストなどが表示されない場合があります。これらのツールをOFFにしてみてください。
<circle id="circle1" cx="100" cy="100" r="75" filter="url(#MyFilter)" fill="red" stroke-width="0px"> <animateColor attributeName="fill" attributeType="css" to="blue" begin="5s" dur="5s" fill="freeze"/> <animateTransform attributeName="transform" attributeType="XML" type="scale" to="0" begin="5s" dur="5s" fill="freeze"/> </circle>
<< 前へ |