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

Q&A

Q1:How does SVG's concept of masking and clipping differ from Flash's?
A1: Flash actually uses a mask to accomplish both masking and clipping. Rather than using two distinct methods, Flash's cropping style is determined by whether the mask is solid or transparent. If the mask's content is 100% opaque, the mask can serve the purpose of a clipping path.
Q2:Aside from the examples in this hour, what else can a mask or clipping path be used for?
A2: If you want to get creative, you can animate a mask or clipping path to produce an effect similar to the gun barrel view in the introduction to James Bond movies. Hour 15, “Animation,” will introduce you to the basics of animating objects. Rather than animating artwork, however, you could animate a ...

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