O'Reilly logo

Sams Teach Yourself SVG in 24 Hours by Micah Laaker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Animating a Transformation

Hour 14 introduced you to transformations and the amazing changes they spawn. Building on this knowledge, you can extend transformations by animating them. The animateTransform element does just that by applying animated transform actions to an object.

Any of the six transform functions can be animated using animateTransform. The element uses a syntax very similar to those of the previous two animation elements, as the following shows:

<animateTransform xlink:href=”#A” attributeName=”transform” type=”B from=”C” to=”D” begin=”E” dur=”F”/>.

In this syntax, all the attributes similar to animate and animateMotion are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required