Tikz 包:在圆上绘制圆弧

Tikz 包:在圆上绘制圆弧

来源:bu.edu 上的 tikz 手册 在此处输入图片描述

\draw(60:5pt)表示什么?

答案1

在此处输入图片描述

\documentclass{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
    \draw[help lines] (0,0) grid (4,3);
\draw [blue]([shift=(60:5pt)]0,0){}--+(30:1cm) arc(30:90:1cm)--cycle;
\draw [red](0,0)--(90:1cm) arc(90:390:1cm)--cycle;
\end{tikzpicture}

\begin{tikzpicture}
    \draw[help lines] (0,0) grid (4,3);
    \draw [blue]([shift=(30:5pt)]0,0){}--+(30:1cm) arc(30:90:1cm)--cycle;
    \draw [red](0,0)--(90:1cm) arc(90:390:1cm)--cycle;
\end{tikzpicture}


\begin{tikzpicture}
    \draw[help lines] (0,0) grid (4,3);
    \draw [blue]([shift=(90:5pt)]0,0){}--+(30:1cm) arc(30:90:1cm)--cycle;
    \draw [red](0,0)--(90:1cm) arc(90:390:1cm)--cycle;
\end{tikzpicture}
\end{document}

相关内容