坐标与路径
先给转角的三个点命名,再沿这些点画出两条线段。
\coordinate 为坐标命名。\draw 中的 -- 画直线,arc 从当前点画圆弧。这里斜边的升高与水平距离之比是 2.1 / 2.8,夹角约为 36.87°。
动手试试 把圆弧起点的横坐标与 radius 同时从 0.8 改为 1.0,比较角弧和两条边的位置。
corner.tex
\documentclass[tikz,border=8pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round]
\coordinate (O) at (0,0);
\coordinate (A) at (3.5,0);
\coordinate (B) at (2.8,2.1);
\draw[very thick,teal!80!black] (A) -- (O) -- (B);
\draw[thick,orange!85!black]
(0.8,0) arc[start angle=0,end angle=36.87,radius=0.8];
\fill[teal!80!black] (O) circle[radius=1.6pt];
\node[below left] at (O) {$O$};
\node at (1.25,0.42) {$\theta$};
\end{tikzpicture}
\end{document}