<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<defs> | |
<clipPath id="clip-circle"> | |
<circle id="circle" cx="60" cy="60" r="50"/> | |
</clipPath> | |
<clipPath id="clip-rect"> | |
<rect x="10" y="30" width="100" height="60"/> | |
</clipPath> | |
</defs> | |
<g clip-path="url(#clip-circle)"> | |
<rect id="rect" x="10" y="10" width="100" height="100" fill="green" clip-path="url(#clip-rect)"/> | |
</g> | |
</svg> |