The mask-composite property for CSS defines the compositing operation used on the current mask layer with the mask layers below it.
object.style.maskComposite = "value";
<'mask-composite'> = <compositing-operator>#
<compositing-operator> = add | subtract | intersect | exclude
add
The source is placed over the destination.
subtract
The source is placed, where it falls outside of the destination.
intersect
The parts of source that overlap the destination, replace the destination.
exclude
The non-overlapping regions of source and destination are combined.