P
P
Pavel2018-03-06 04:50:54
HTML
Pavel, 2018-03-06 04:50:54

How to highlight the outer part of the intersection of circles in SVG?

How to paint only the part marked with X?
h_1520300944_6703723_c12bf6ff8b.png

<svg width="270" height="270">
                                    <g class="g-text">
                                        <text x="70" y="55" font-size="35">A</text>
                                        <text x="150" y="55" font-size="35">B</text>
                                    </g>
                                    <g class="g-circles" fill="none">
                                        <circle r="70" cx="80" cy="135"
                                                stroke="yellowgreen"
                                                fill="yellowgreen"
                                                fill-opacity=".5">
                                        </circle>
                                        <circle r="70" cx="160" cy="135"
                                                stroke="crimson"
                                                fill="crimson"
                                                fill-opacity=".5">
                                        </circle>
                                    </g>
                                </svg>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question