<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg xmlns="http://www.w3.org/2000/svg" > <title> ... </title> <desc> ... </desc> ..... </svg> |
<line x1="..." y1="..." x2="..." y2="..." />
<rect x="..." y="..." width="..." height="..." /> <circle cx="..." cy="..." r="..." /> <ellipse cx="..." cy="..." rx="..." ry="..." /> <polyline points="x1,y1 ........." /> <polygon points="x1,y1 ........." /> |
[example]
<path d="..." pathLength = "..." />
|
Paths represent the outline ‘d’ of a shape defined in terms of points and the following directives.
Lowercase characters request relative addresses instead of absolute ones.
[example]
Painting of shapes is determined by the colors supplied to the ‘fill’ and ‘stroke’ properties.
[example]
[example]
<.... id="..." ...> ... </...>
<use x="..." y="..." width="..." height="..." xlink:href="..." /> |
[example]
<g ...>...</g>
[example]
<defs>...</defs>
Elements that are descendants of a ’defs’ are not rendered in place.
[example]
<symbol ...>...</symbol>
The symbols are defined within an independent canvas. The overflow parameters ask for the whole symbol, not only a quarter of it around the origin (0,0).
[example]
transform="..."
(a c e) (x)
(b d f) (y) (0 0 1) (1) |
[example]