2

Assume I have a tikzpicture with different draw objects such as lines, circles, rectangle, shapes etc.

When I do not specify a color the default draw color is black.

My question is: how can I change the default draw color (black) for all objects in TiKZ picture (scope) to something else. So it should not change outside tikz picture.

This allow me to quickly (visually) test replacing default black with something else.

Tx

robert
  • 1,285

1 Answers1

2

I found it already specify it after tikzpicture.

Excellent explanation on defaults/scope see this site this post

begin{tikzpicture}[draw=red]

robert
  • 1,285