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
Generative Art with JavaScript and SVG: Utilizing Scalable Vector Graphics and Algorithms for Creative Coding and Design
This book introduces you to the exciting world of generative art and creative coding through the …
book
SVG Text Layout
Scalable Vector Graphics (SVG) is an image format, so text isn’t the first thing you might …
book
Absolute Beginner’s Guide to Creating Web Pages
Learn to create Web pages and Web sites using the latest HTML standards with this book's …
book
Beginning SVG: A Practical Introduction to SVG using Real-World Examples
Develop SVG functionality for use within websites quickly and natively, using basic tools such as HTML …