[feature-4428] Reference SVG <defs> tag in perspective to use as clip path

Hi

I’d like to use SVG clipPath in perspective over the image and I need to reference the SVG def structure to the image.
The problem is the perspective SVG element doesn’t support tag and I wonder how can I ref my SVG shape as clip-path to another object or image.
Like the example below:

<svg height="0" width="0">
    <defs>
        <clipPath id="svgPath">
            <path fill="#FFFFFF" stroke="#000000" stroke-width="1.5794" stroke-miterlimit="10" d="M215,100.3c97.8-32.6,90.5-71.9,336-77.6
        c92.4-2.1,98.1,81.6,121.8,116.4c101.7,149.9,53.5,155.9,14.7,178c-96.4,54.9,5.4,269-257,115.1c-57-33.5-203,46.3-263.7,20.1
        c-33.5-14.5-132.5-45.5-95-111.1C125.9,246.6,98.6,139.1,215,100.3z"/>
        </clipPath>
    </defs>
</svg>

hi Nader, from what I can tell this is not currently possible. I will go ahead and make an enhancement ticket for you

1 Like