Rectangle A
Rectangle B
Reset both
Union area
10
Overlap is colored by both rectangles but contributes only once.