I'm am able to invert clipping regions (as discussed in this question) and to use node shapes for clipping (as discussed in this one), but I'd like to combine the two, and I don't see quite how to do that. The following two programs each do half of what I want, sort of.
First, inverted clipping using a manually drawn rectangle around my text node:
\documentclass[tikz,border=3pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\begin{document}
\begin{tikzpicture}[even odd rule]
\draw node (a) {000};
\clip[overlay]
(current page.south west) rectangle (current page.north east)
(a.south west) rectangle (a.north east)
;
\fill[overlay, opacity=.2]
(current page.south west) rectangle (current page.north east)
;
\end{tikzpicture}
\end{document}
This gives me:
Then, clipping using the actual path of a rounded rectangle node:
\documentclass[tikz,border=3pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\begin{document}
\begin{tikzpicture}[even odd rule]
\pgfnode{rounded rectangle}{center}{000}{a}{\pgfusepath{clip}}
\fill[overlay, opacity=.2]
(current page.south west) rectangle (current page.north east)
;
\end{tikzpicture}
\end{tikzpicture}
\end{document}
This gives me:
What I'd like is the shape of the latter, but with the inverted clipping behavior of the former. Since the node path seems to be quite encapsulated and isolated, I'm not sure how to combine it with something else for even-odd clipping. I've also tried reconstructing the rounded rectangle drawing myself, using the PGF code, but that looks to be quite a bit of (quite possibly unnecessary) work.
Any tips?


