SVG Colors, Patterns & Gradients
Author | : Amelia Bellamy-Royds |
Publisher | : "O'Reilly Media, Inc." |
Total Pages | : 258 |
Release | : 2015-10-05 |
ISBN-10 | : 9781491933695 |
ISBN-13 | : 1491933690 |
Rating | : 4/5 (95 Downloads) |
Book excerpt: As a vector graphics format, SVG uses precisely-defined geometric shapes to build an image. But that doesn't mean that SVG graphics have to look like technical drawings. SVG graphics can be shaded, textured, built from partially-transparent overlapping layers, or even filled with photographic images. SVG Colors, Patterns, and Gradients takes an in-depth look at the different ways SVG text and shapes can be painted on the screen or page. You’ll start with an overview of how color is defined, including the various ways you can control the transparency of SVG content. You’ll then dive deep into the concept of an SVG paint server: gradients, patterns, and other complex graphical content that can be used to fill-in or outline other SVG shapes and text.