一切都在标题中
在下面的代码中,如何获得最后一个角的最后一个圆角?
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[fill,blue!50,rounded corners=0.5cm] (0:3) to[bend right=30] (120:3) to[bend right=30] (240:3) to[bend right=30] (360:3);
\foreach \aa in {0,120,-120}{
\draw [fill, blue!50] (\aa:2.2) circle (0.6cm);
\draw [fill, white] (\aa:2.4) circle (0.3cm);
}
\draw[fill,white] (0,0) circle (2cm);
\end{tikzpicture}
\end{document}
答案1
rounded corners
有“几个陷阱”——请在此避免。
\documentclass[tikz, border=1 cm]{standalone}
\begin{document}
\begin{tikzpicture}
\fill[blue!50, bend right=30] (10:2.8) to (110:2.8) to (130:2.8) to (230:2.8) to (250:2.8) to (350:2.8) to cycle;
\foreach \aa in {0,120, 240}
\fill[white] (\aa:2.4) circle[radius=0.3];
\fill[white] (0,0) circle[radius=2];
\end{tikzpicture}
\end{document}