This SVG example illustrates how to apply a composite filter.
<svg width="400" height="200" xmlns="http://www.w3.org/2000/svg"> <filter id="idCompositeFilter"> <feOffset in="SourceGraphic" dx="50" dy="0" result="imgOffset"/> <feComposite in="SourceGraphic" in2="imgOffset" operator="in" result="imgComp"/> </filter> <!-- Original Version --> <circle cx="100" cy="100" r="85" fill="coral" stroke="tan" stroke-width="10"></circle> <!-- Filtered Version --> <g style="filter: url(#idCompositeFilter)" transform="translate(200, 0)"> <circle cx="100" cy="100" r="85" fill="coral" stroke="tan" stroke-width="10"></circle> </g> </svg>
© 20072024 XoaX.net LLC. All rights reserved.