SVG – Learning by Coding
1: <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
3: "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
4: <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
5: ]>
6:
7: <!-- SVG - Learning by Coding - http://www.datenverdrahten.de/svglbc/ -->
8: <!-- Author: Dr. Thomas Meinike 12/02 - thomas@handmadecode.de -->
9:
10: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
11:
12: <defs>
13: <marker id="einmarker" markerWidth="10" markerHeight="10"
14: refX="0" refY="5" orient="auto">
15: <polygon points="0,0,10,5,0,10" style="fill: none; stroke: #F00"/>
16: </marker>
17: </defs>
18:
19: <title>SVG - Learning by Coding</title>
20: <desc>SVG-Spezifikation in Beispielen</desc>
21: <text x="20" y="30" style="fill: #000; font-size: 24px">Element marker</text>
22:
23: <line x1="30" y1="55" x2="150" y2="55" style="fill: none; stroke: #00C;
24: marker-end: url(#einmarker)"/>
25: <line x1="30" y1="75" x2="150" y2="75" style="fill: none; stroke: #00C;
26: marker-end: url(#einmarker)"/>
27: <line x1="30" y1="95" x2="150" y2="95" style="fill: none; stroke: #00C;
28: marker-end: url(#einmarker)"/>
29:
30: </svg>
[zum Anfang]