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" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css">
<style>
svg {
background: white;
width: 96%;
height: 400px;
padding: 0;
}
</style>
<title>SVG-Urfilter: feTile</title>
</head>
<body>
<h1>SVG-Urfilter: feTile</h1>
<svg viewBox="0 0 600 500">
<defs>
<filter id="gekachelt" x="0" y="0" width="100%" height="100%">
<feImage result="imgSource" href="https://wiki.selfhtml.org/images/a/a6/Lauf-1.jpg" width="10%" height="10%" preserveAspectRatio="xMidYMid slice" />
<feTile in="imgSource" />
</filter>
</defs>
<rect x="10" y="10" width="600" height="490" filter="url(#gekachelt)" />
</svg>
</body>
</html>