File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
tex/generic/pgf/basiclayer Expand file tree Collapse file tree 2 files changed +12
-6
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} (default \normalfont is scope's color setting) }
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,10 @@ \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 used
823
+ last as a fill color in the current scope.
824
+
821
825
Note that such `` open'' arrow tips are a bit difficult to draw in some
822
826
case: The problem is that the line must be shortened by just the right
823
827
amount so that it ends exactly on the back end of the arrow tip. In some
@@ -827,7 +831,7 @@ \subsubsection{Coloring}
827
831
A shorthand for |fill=none|.
828
832
\end {key }
829
833
830
- When you use both the |color| and |fill| option , the |color| option must
834
+ When you use both the |color| and |fill| options , the |color| option must
831
835
come first since it will reset the filling to the color specified for
832
836
drawing.
833
837
%
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\pgfutil@empty %
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 ,
520
+ fill/.default= ,
519
521
open/.style={fill=none},
520
522
.unknown/.code={
521
523
\expandafter\pgfutil@in@\expandafter !\expandafter {\pgfkeyscurrentname }%
You can’t perform that action at this time.
0 commit comments