没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Amelia Bellamy-Royds & Kurt Cagle
SVG Colors,
Patterns &
Gradients
PAINTING VECTOR GRAPHICS
XMLWEB DESIGN
S VG Colors, Pat ter n s & Grad ient s
ISBN: 978-1-491-93374-9
US $29.99 CAN $34.99
“
Paint like never
before! A deep dive
into the expressive
new possibilities of
SVG gradients and
patterns.
”
—Erik Dahlström
Co-Chair, SVG Working Group
Twitter: @oreillymedia
facebook.com/oreilly
As a vector graphics format, SVG uses precisely-
defined geometric shapes to build an image. But SVG
is not only useful for simple technical drawings. SVG
graphics can be shaded, textured, built from partially
transparent overlapping layers, or even filled with
photographic images.
This book takes a deep dive into a specic aspect of SVG:
painting. You won’t use oils or watercolors, but graphical
instructions that a computer can turn into detailed, full-
color images. The creative possibilities are endless, once
you know how to take advantage of all that SVG oers.
■ Learn how the SVG rendering model works
with strokes and lls
■ Apply standard colors, dene custom
colors, or create a named color palette
■ Set transparency for objects, strokes, and lls
■ Dene reusable painting instructions with
SVG paint servers
■ Create and use simple and repeating linear
and radial gradients, scaled to t or with
absolute positions
■ Add tiles, textures, and background images
with patterns
■ Understand and avoid the quirks and
pitfalls of painting strokes and text
■ Animate lls and strokes or the paint server
elements they use
Includes reference sections on color keywords and syntax,
and paint server elements, attributes, and style properties.
Amelia Bellamy-Royds is a
freelance writer specializing
in scientific and technical
communication. Co-author
of the second edition of
SVG Essentials, she is also an
invited expert on the W3C’s
SVG Working Group and SVG
Accessibility Task Force.
Kurt Cagle was a member of the
SVG Working Group, and wrote
one of the first SVG books on
the market. He’s consulted for a
number of Fortune 500 media,
transportation, and publishing
companies, and was an architect
with the US National Archives
and the Affordable Care Act.
Kurt founded Semantical, LLC in
2015 to develop applications for
data visualization, virtualization,
and enrichment.
Amelia Bellamy-Royds
& Kurt Cagle
SVG Colors, Patterns
& Gradients
Painting Vector Graphics
978-1-491-93374-9
[LSI]
SVG Colors, Patterns & Gradients
by Amelia Bellamy-Royds and Kurt Cagle
Copyright © 2016 Amelia Bellamy-Royds and Kurt Cagle. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA
95472.
O’Reilly books may be purchased for educational, business, or sales promotional use.
Online editions are also available for most titles (http://safaribooksonline.com). For
more information, contact our corporate/institutional sales department:
800-998-9938 or corporate@oreilly.com.
Editor: Meg Foley
Production Editor: Colleen Lobner
Copyeditor: Jasmine Kwityn
Proofreader: James Fraleigh
Indexer: Amelia Bellamy-Royds
Interior Designer: David Futato
Cover Designer: Ellie Volckhausen
Illustrator: Rebecca Demarest
October 2015:
First Edition
Revision History for the First Edition
2015-10-02: First Release
See http://oreilly.com/catalog/errata.csp?isbn=9781491933749 for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. SVG Colors, Pat‐
terns & Gradients, the cover image of a Tibetan blood pheasant, and related trade
dress are trademarks of O’Reilly Media, Inc.
While the publisher and the authors have used good faith efforts to ensure that the
information and instructions contained in this work are accurate, the publisher and
the authors disclaim all responsibility for errors or omissions, including without
limitation responsibility for damages resulting from the use of or reliance on this
work. Use of the information and instructions contained in this work is at your own
risk. If any code samples or other technology this work contains or describes is sub‐
ject to open source licenses or the intellectual property rights of others, it is your
responsibility to ensure that your use thereof complies with such licenses and/or
rights.
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1.
Things You Should Already Know. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SVG Is Drawing with Code 1
SVG Is Always Open Source 2
SVG Is XML (and Sometimes HTML) 2
SVG Is Squishable 2
Pictures Are a Collection of Shapes 3
Images Can Have Images Inside Them 3
Text Is Art 3
Art Is Math 4
An SVG Is a Limited View of an Infinite Canvas 4
SVG Has Structure 4
SVG Has Style 4
Behind All Good Markup Is a Great DOM 5
SVG Can Move 5
SVG Can Change 6
2.
The Painter’s Model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Fill ’Er Up with the fill Property 8
Stroke It with the stroke Property 12
Stroking the Fill and Filling the Stroke 17
Take a Hint with Rendering Properties 26
3.
Creating Colors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Misty Rose by Any Other Name 31
A Rainbow in Three Colors 36
iii
剩余308页未读,继续阅读
资源评论
- geopool2017-10-29这本书不错啊
xinconan2
- 粉丝: 268
- 资源: 400
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功