I'm forced to define colors within my tikzset for one of my projects. This requires me to use the draw command within my tikzset to set a color.
Normally I can just use, say \draw command to just set an argument of [top color=#1,bottom color=#3, middle color=#2] to get the desired result, but in this case I want to use the draw within my tikzset to define fading colors in similar fashion.
I doubt there are any workarounds barring perhaps the shading command for which I have not found an argument equivalent (?) in the PGF manual v3.00, see page 694.
Code:
\tikzset{
mal/.style={->, >=stealth,
single arrow, line width=16mm,
single arrow head extend=.5cm, single arrow head indent=.25cm}
}
And the object itself:
\begin{tikzpicture}[scale=2,node distance=1cm, auto,baseline=-.5ex]
\node (dummy) at (-5,-10) {};
\begin{scope}[remember picture,overlay,shift={(dummy.center)}]
\def\malpath{(8.75,4.25) arc (440:130:7.75)}
\draw[mal]
\malpath;
\end{scope}

nodespecific options in themalstyle. Do you want a node in the shape of a single arrow and shade it or you want that path to be colored? EDIT: Ah, OK now it's clear. – percusse Apr 13 '14 at 09:03clip?. I've attempted to use that path shading workaround, but this code shows no intention of changing into an arc in the forseeable future. – 1010011010 Apr 13 '14 at 11:47