答案1
我認為最簡單的方法是這樣的:
\documentclass[10pt, border=.3cm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[fill=gray] (0,0) arc (180:0:1cm);
\draw[fill=white] (0,0) -- (2cm,0) -- (1cm,1cm)-- (0,0);
\end{tikzpicture}
\end{document}
如果您喜歡灰色而不是黑色的邊框:
\documentclass[10pt, border=.3cm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\filldraw[gray] (0,0) arc (180:0:1cm);
\draw[gray, fill=white] (0,0) -- (2cm,0) -- (1cm,1cm)-- (0,0);
\end{tikzpicture}
\end{document}