« Return to Thread: color shading: bug or feature

Re: color shading: bug or feature

by Alain Matthes-2 :: Rate this Message:

Reply to Author | View in Thread


Le 1 juil. 09 à 08:18, Goebel, Juergen a écrit :


> pdfLaTeXing the following example I get a very thin line around the
> filled area. Unfortunately this is not only to be seen while enlarging
> the picture, but also when showing a presentation. Is it possible to
> suppress this behavior?
>
> \documentclass{article}
> \usepackage{tikz}
> \begin{document}
>  \begin{tikzpicture}
>   \fill[left color=white,right color=black] (0,0) rectangle (10,0.1);
>  \end{tikzpicture}
> \end{document}
>

hi


\documentclass{article}
\usepackage{tikz}
\begin{document}
  \begin{tikzpicture}
   \path[left color=white,right color=black] (0,0) rectangle (10,0.1);
  \end{tikzpicture}
\end{document}

Best Regards

Alain Matthes
------------------------------------------------------------------------------
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

 « Return to Thread: color shading: bug or feature