If two partially opaque shapes overlap, can I show only one shape where they overlap?
For example if you have a simple "spy glass" shape made of a circle and a rectangle and the outlines of both are partially transparent, can you stop the opacity effectively being decreased where the two shapes overlap? You can use a filter to tweak the opacity value. Say, both shapes have an opacity value of .5, then you want to make the area where both overlap to have an opacity value of .5 as well. <svg xmlns="http://www.w3.org/2000/svg" width="300px" height="300px"> <filter id="constantOpacity"> <feComponentTransfer> <!-- This transfer function leaves all alpha values of the unfiltered