How can I scale also the values of line width in this MWE?
\documentclass[tikz,border=5mm]{standalone}
\begin{document}
\tikzset{
mytest/.pic = {
\draw[blue, line width=0.5cm](0,0)--(90:1.5)--(60:2.5)--(30:3.0);
\draw[white, line width=0.4cm,shorten >=1pt,shorten <=1pt](0,0)--(90:1.5)--(60:2.5)--(30:3.0);
}
}
\begin{tikzpicture}
\pic at (0cm,0cm){mytest};
\pic [scale=5] at (5cm,0cm){mytest};
%HELP GRID LINES:
\draw[very thin, gray!20,step=1cm] (current bounding box.south west) grid (current bounding box.north east);
\end{tikzpicture}
\end{document}
Related question: Tikz and enveloping border![][1]](../../images/59c3ad48dc98ee7c3c675364b6556beb.webp)

\mylinewidth, which you could adjust. – Mar 27 '18 at 14:19