My SVG Cheatcheat

Scalable Vector Graphics

Links


<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
 version="1.1" baseProfile="full"
 width="700px" height="400px" viewBox="0 0 700 400">

 <!-- Anschlüsse links und rechts -->
 <line x1="0" y1="200" x2="700" y2="200" stroke="black" stroke-width="20px"/>
 <!-- Das Rechteck -->
 <rect x="100" y="100" width="500" height="200" fill="white" stroke="black" stroke-width="20px"/>
 <!-- Der Schleifer -->
 <line x1="180" y1="370" x2="500" y2="50" stroke="black" stroke-width="15px"/>
 <!-- Die Pfeilspitze -->
 <polygon points="585 0 525 25 585 50" transform="rotate(135 525 25)"/>
</svg>