| 1 |
% \iffalse |
| 2 |
% -------------------------------------------------------------------- |
| 3 |
%<*hex> |
| 4 |
% \fi |
| 5 |
% \begin{TikzKey}{hex/terrain/mountain} |
| 6 |
% This is an example of a terrain \spec{pic}ture. |
| 7 |
% |
| 8 |
% \begin{macrocode} |
| 9 |
\tikzset{ |
| 10 |
hex/terrain/mountain/.pic={% |
| 11 |
\path[draw=black,fill=white] (0,0) -- (.3,.9)--(.45,0) -- cycle; |
| 12 |
\path[draw=black,fill=lightgray,pic actions] |
| 13 |
(-.6 ,- .9) -- |
| 14 |
(-.3 , .3) -- |
| 15 |
( 0, 0) -- |
| 16 |
( .45, 0) -- |
| 17 |
( .6 , -.9) -- cycle; |
| 18 |
} |
| 19 |
} |
| 20 |
% \end{macrocode} |
| 21 |
% \end{TikzKey} |
| 22 |
% |
| 23 |
% \iffalse |
| 24 |
%</hex> |
| 25 |
% -------------------------------------------------------------------- |
| 26 |
% \fi |