1 Answer
1

You can use the fill key to “delete” the background. As the comments show you must care to set no other color after the fill key with color or just using the color name as an option. That will overwrite the color given to fill. As you can see in the example color set the color for filling, drawing and the text.

@xiongtx Yes it does. When you use color=black then that is a meta-command which sets all colours to black: line colour, fill colour, and text colour. If you want to override any of those then you have to reset it afterwards.
–
Loop SpaceApr 20 '12 at 7:36

As the manual says, if you use fill “the area enclosed by the path is filled with the current filling color, which is either the last color set using the general color= option or the optional color ⟨color⟩.” (p. 161) So in you case the last set color wins and overwrites the setting of fill.
–
TobiApr 20 '12 at 7:38

5

(Sorry, can't resist: the order of doing things is more commonly important than not. That 2+3 = 3+2 ought to be surprising - the fact that it isn't is merely because we're so familiar with it that we don't notice the oddity. But almost everywhere else, order matters. In Norway there is a children's song which translates roughly to: "Open window, look out - hello weather, how are you?". Imagine the difference if you first put your head out of the window and then opened it.)
–
Loop SpaceApr 20 '12 at 7:39