summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadows.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadows.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadows.tex30
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadows.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadows.tex
index 2ca29e963f0..94e7487b1d7 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadows.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-shadows.tex
@@ -7,7 +7,7 @@
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.
-\section{Shadow Library}
+\section{Shadows Library}
\label{section-libs-shadows}
\begin{pgflibrary}{shadows}
@@ -19,7 +19,7 @@
\subsection{Overview}
A \emph{shadow} is usually a black or gray area that is drawn behind a
-path or a node, thereby adding visual depth to a picture. The shadows
+path or a node, thereby adding visual depth to a picture. The |shadows|
library defines options that make it easy to add shadows to
paths. Internally, these options are based on using the |preaction|
option to use a path twice: Once for drawing the shadow (slightly
@@ -31,7 +31,7 @@ scopes.
In addition to the general |shadow| option, there exist special
options like |circular shadow|. These can only (sensibly) be used with
a special kind of path (for |circular shadow|, a circle) and, thus,
-there are not as general. The advantage is, however, that they are
+they are not as general. The advantage is, however, that they are
more visually pleasing since these shadows blend smoothly with the
background. Note that these special shadows use fadings, which few
printers will support.
@@ -59,7 +59,7 @@ circumstances.
\meta{shadow options} are used for painting this path. Typically,
the \meta{shadow options} will contain options like |fill=black| to
create, say, a black shadow. Furthermore, after the \meta{shadow
- options} have been setup, the following extra canvas
+ options} have been set up, the following extra canvas
transformations are applied to the path: It is scaled by
|shadow scale| (with the origin of scaling at the path's center) and
it is shifted by |shadow xshift| and |shadow yshift|.
@@ -73,23 +73,23 @@ circumstances.
\end{codeexample}
\begin{key}{/tikz/shadow scale=\meta{factor} (initially 1)}
- Shadows are scaled by this amount.
+ Shadows are scaled by \meta{factor}.
\begin{codeexample}[]
\tikz [even odd rule]
\draw [general shadow={fill=red,shadow scale=1.25}]
(0,0) circle (.5) (0.5,0) circle (.5);
\end{codeexample}
\end{key}
- \begin{key}{/tikz/shadow xshift=\meta{factor} (initially 0pt)}
- Shadows are shifted horizontally by this amount.
+ \begin{key}{/tikz/shadow xshift=\meta{dimension} (initially 0pt)}
+ Shadows are shifted horizontally by \meta{dimension}.
\begin{codeexample}[]
\tikz [even odd rule]
\draw [general shadow={fill=red,shadow xshift=-5pt}]
(0,0) circle (.5) (0.5,0) circle (.5);
\end{codeexample}
\end{key}
- \begin{key}{/tikz/shadow yshift=\meta{factor} (initially 0pt)}
- Shadows are shifted vertically by this amount.
+ \begin{key}{/tikz/shadow yshift=\meta{dimension} (initially 0pt)}
+ Shadows are shifted vertically by \meta{dimension}.
\end{key}
\end{key}
@@ -100,9 +100,9 @@ circumstances.
\subsubsection{Drop Shadows}
\begin{key}{/tikz/drop shadow=\meta{shadow options} (default \normalfont empty)}
- This option adds a drop shadow to a path or node. |\path| or a
+ This option adds a drop shadow to a |\path| or a
|node|. It uses the |general shadow| and passes the \meta{shadow
- options} to it plus, before them, the following extra options:
+ options} to it, plus, before them, the following extra options:
\begin{codeexample}[code only]
shadow scale=1, shadow xshift=.5ex, shadow yshift=-.5ex,
opacity=.5, fill=black!50, every shadow
@@ -122,11 +122,11 @@ circumstances.
\begin{codeexample}[]
\begin{tikzpicture}
\draw [help lines] (0,0) grid (3,2);
- \filldraw [drop shadow={opacity=0.25},fill=white]
- (1,.5) circle (.5) (1.5,.5) circle (.5);
-
\filldraw [drop shadow={opacity=1},fill=white]
(1,2) circle (.5) (1.5,2) circle (.5);
+
+ \filldraw [drop shadow={opacity=0.25},fill=white]
+ (1,.5) circle (.5) (1.5,.5) circle (.5);
\end{tikzpicture}
\end{codeexample}
\end{key}
@@ -183,7 +183,7 @@ of the path/object present.
\begin{key}{/tikz/double copy shadow=\meta{shadow options} (default \normalfont empty)}
This shadow works like a |copy shadow|, only the shadow is added
- twice, the first time with the double |xshift| and |yshift|.
+ twice, the second time with the double |xshift| and |yshift|.
\begin{codeexample}[]
\begin{tikzpicture}
\node [double copy shadow,fill=blue!20,draw=blue,thick] {Hello World!};