
답변1
이 dash expand off
옵션이 유용할 수 있습니다.
TikZ 및 PGF에서수동:
/tikz/dash expand off
off
대시 패턴의 일부를 늘릴 수 있도록 확장 가능 하게 만듭니다 . 이는 단일 필드on
와 단일off
필드가 있고 라이브러리가 필요한 경우에만 작동합니다decorations
. 현재 이 옵션은dash pattern
적용되는 지점에서 알려져야 하므로 대시 패턴 옵션 이후에 적용되는 경로에 지정해야 합니다 .
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations}
\begin{document}
\begin{tikzpicture}
\draw [dotted,dash expand off] (0,0.1) -- (1.02,0.1);
\draw [dotted,dash expand off] (0,0) -- (1,0);
\end{tikzpicture}
\end{document}