帮助even odd rule
。只有这些区域被填充,这些区域被覆盖了奇数次。交叉点被填充了两次,因此,它仍然未填充:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\filldraw[
radius=3cm,
fill=gray,
even odd rule,
]
(2,2) circle[]
(5,2) circle[]
;
\end{tikzpicture}
\end{document}