Answer the question
In order to leave comments, you need to log in
How to get clipPath of multiple elements to work in SnapSVG?
I have a simple multi-element shape made with svg in SnapSvg and I need to clip the svg to the shape of the shape.
If I clip using one element (ellipse, polygon or circle) then everything works fine, but as soon as I try to apply clipPath with a group of elements, everything disappears. Please help me figure it out. Maybe it clips but inversely?..
Here is the code on codepen
clipPath on lines 39-40...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question