Book description
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.
Publisher resources
Table of contents
- Preface
-
1. Things You Should Already Know
- SVG Is Drawing with Code
- SVG Is Always Open Source
- SVG Is XML (and Sometimes HTML)
- SVG Is Squishable
- Pictures Are a Collection of Shapes
- Images Can Have Images Inside Them
- Text Is Art
- Art Is Math
- An SVG Is a Limited View of an Infinite Canvas
- SVG Has Structure
- SVG Has Style
- Behind All Good Markup Is a Great DOM
- SVG Can Move
- SVG Can Change
- 2. The Painter’s Model
- 3. Creating Colors
- 4. Becoming Transparent
- 5. Serving Paint
- 6. Simple Gradients
- 7. Gradients in All Shapes and Sizes
- 8. And Repeat
- 9. Radial Gradients
- 10. Tiles and Textures
- 11. Picture-Perfect Patterns
- 12. Textured Text
- 13. Painting Lines
- 14. Motion Pictures
- A. Color Keywords and Syntax
- B. Elements, Attributes, and Style Properties
- Index
Product information
- Title: SVG Colors, Patterns & Gradients
- Author(s):
- Release date: October 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491933749
You might also like
book
SVG Text Layout
Scalable Vector Graphics (SVG) is an image format, so text isn’t the first thing you might …
book
Mastering SVG
Take the plunge and develop cross-browser-compatible and responsive web designs with SVG Key Features Master the …
book
Using SVG with CSS3 and HTML5
Using Scalable Vector Graphics (SVG) for illustrations only scratches the surface of this format’s potential on …
book
Modern SVG
The Scalable Vector Graphics (SVG) format has come a long way. What may have seemed like …