diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex index cad08b6b71b..03c619eb97f 100644 --- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex +++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-actions.tex @@ -361,6 +361,25 @@ setting the line width. You can also redefine these styles. % \end{key} +\begin{key}{/tikz/dash expand off} + Makes the |off| part of a dash pattern expandable such that it can stretch. + This only works when there is a single |on| and a single |off| field and + requires the |decorations| library. Right now this option has to be + specified on the path where it is supposed to take effect after the |dash + pattern| option because the dash pattern has to be known at the point where + it is applied. + % +\begin{codeexample}[] +\begin{tikzpicture}[|-|, dash pattern=on 4pt off 2pt] + \draw [dash expand off] (0pt,30pt) -- (26pt,30pt); + \draw [dash expand off] (0pt,20pt) -- (24pt,20pt); + \draw [dash expand off] (0pt,10pt) -- (22pt,10pt); + \draw [dash expand off] (0pt, 0pt) -- (20pt, 0pt); +\end{tikzpicture} +\end{codeexample} + % +\end{key} + As for the line thickness, some predefined styles allow you to set the dashing conveniently. |