Skip to Content
Special Edition Using XML, Second Edition
book

Special Edition Using XML, Second Edition

by - et al. David Gulbransen
July 2002
Intermediate to advanced
864 pages
22h 32m
English
Que
Content preview from Special Edition Using XML, Second Edition

Paths in SVG

The shapes that you have seen so far are all very regular shapes—but many shapes used in drawings, diagrams, or maps are not simple shapes such as those. All the shapes you have seen so far can be described using the SVG <path> element, although the syntax shown earlier provides a convenient shortcut to create certain shapes.

The <path> Element

Perhaps the easiest way to visualize what the <path> element does is to think of drawing using a pen on a sheet of graph paper. If you were being instructed how to draw, you might be told where to move the pen, when to apply it to the graph paper, what coordinate to draw to, and whether to use a straight line or a curve.

The <path> element has a complex set of options that we won't cover in ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

XML Pocket Reference, 3rd Edition

XML Pocket Reference, 3rd Edition

Simon St. Laurent, Michael Fitzgerald
Essential XML: Beyond Markup

Essential XML: Beyond Markup

Don Box, Aaron Skonnard, John Lam

Publisher Resources

ISBN: 078972748XPurchase book