答案1
这使用了装饰,其中使用和路径text along path
构造构建路径,使得它遵循形状的轮廓。sin
cos
\documentclass[tikz,border=3.14mm]{standalone}
\usetikzlibrary{shapes,calc,decorations.text}
\begin{document}
\begin{tikzpicture}
\def\mytext{Text and more Text}
\node[tape,draw=black](a){\phantom{\mytext}};
\path[decorate,decoration={text along path,
text=\mytext,text align=center,raise=-3pt}] (a.-180) sin ($(a.-150)!0.5!(a.150)$) cos (a.center)
sin ($(a.-30)!0.5!(a.30)$) cos (a.0);
\end{tikzpicture}
\end{document}