File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
tex/generic/pgf/basiclayer Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -796,7 +796,7 @@ \subsubsection{Coloring}
796
796
filled.
797
797
\end {key }
798
798
799
- \begin {key }{/pgf/arrow keys/fill=\meta {color or |none|}}
799
+ \begin {key }{/pgf/arrow keys/fill=\meta {color or |none| or empty }}
800
800
Use this key to explicitly set the color used for filling the arrow tips.
801
801
This color can be different from the color used to draw (stroke) the arrow
802
802
tip:
@@ -818,6 +818,11 @@ \subsubsection{Coloring}
818
818
}
819
819
\end {codeexample }
820
820
%
821
+ If the argument is left empty or omitted altogether, no explicit fill color
822
+ will be set, meaning that the fill color will be determined by whatever was
823
+ used last as a fill color. In case that the `` current'' fill color is
824
+ intended, it is better to explicitly use |fill=.|.
825
+
821
826
Note that such `` open'' arrow tips are a bit difficult to draw in some
822
827
case: The problem is that the line must be shortened by just the right
823
828
amount so that it ends exactly on the back end of the arrow tip. In some
Original file line number Diff line number Diff line change 510
510
fill/.code={%
511
511
\def\pgf@temp {#1}%
512
512
\ifx \pgf@temp\pgf@nonetext %
513
- \pgfarrowsaddtooptions {\pgfarrowopentrue }
513
+ \pgfarrowsaddtooptions {\pgfarrowopentrue }%
514
+ \else\ifx \pgf@temp\pgfkeysnovalue@text %
515
+ \pgfarrowsaddtooptions {\pgfarrowopenfalse }%
514
516
\else
515
- \pgfarrowsaddtooptions {\pgfarrowopenfalse\def\pgf@arrows@fill@color {#1}}
516
- \fi
517
+ \pgfarrowsaddtooptions {\pgfarrowopenfalse\def\pgf@arrows@fill@color {#1}}%
518
+ \fi\fi
517
519
},
518
- fill/.value required,
519
520
open/.style={fill=none},
520
521
.unknown/.code={
521
522
\expandafter\pgfutil@in@\expandafter !\expandafter {\pgfkeyscurrentname }%
You can’t perform that action at this time.
0 commit comments