Beispiel:SVG-Filter-15.html
Aus SELFHTML-Wiki
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0;" />
<link rel="stylesheet" type="text/css" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css" />
<style>
svg {
background: white;
border: 1px dotted #3983ab;
width: 96%;
height: 700px;
padding: 0;
}
</style>
<title>Beispiel: SVG-Filter feTile</title>
</head>
<body>
<h1>Beispiel: SVG-Filter feTile</h1>
<main>
<svg viewbox="0 0 900 700">
<defs>
<filter id="gekachelt" x="0" y="0" width="100%" height="100%">
<feImage result="imgSource" xlink:href="http://wiki.selfhtml.org/images/a/a6/Lauf-1.jpg" width="10%" height="10%" preserveAspectRatio="xMidYMid slice" />
<feTile in="imgSource" />
</filter>
</defs>
<rect x="20" y="20" width="600" height="490" filter="url(#gekachelt)" />
</svg>
</main>
</body>
</html>