
Inverted polygons vector styling
The inverted polygons vector style inverts the area that a polygon covers. This vector style only works with the polygon vector geometry type.
The following screenshot shows the Inverted polygons style for a polygon of the country of Nigeria on the left and all countries underneath the transparent inverted polygon of Nigeria on the right. Notice that the entire canvas is covered by the inverted polygon, which has the effect of cutting out Nigeria from the map:

The Inverted polygons style parameters rely on a sub-renderer to determine the symbol that was used for the inverted polygons. By choosing the Sub renderer, the polygon rendering is inverted to cover the entire map canvas. The following screenshot shows the Inverted polygons style parameters that created the inverted polygon of Nigeria:

If multiple polygons are going to be inverted and the polygons overlap, Merge polygons before rendering (slow) can be checked so that the inverted polygons do not cover the area of overlap.