I am creating a PDF file and I would like to generate several rectangles on the page However once I fill a rectangle in color I cannot reset the fill color (non-stroking color) to clear, white, transparent or whatever is needed so that no color is in the rectangle
I use this to set the stroke and non-stroke to red
1.0 0.0 0.0 rg
1.0 0.0 0.0 RG
I set the line width
1 w
I draw a rectangle and it appears as a red rectangle (outlined and filled in red)
0046.8 0633.6 0237.6 0100.8 re
B
Now I set the stroke to black
0.0 0.0 0.0 RG
I attempt to create another rectangle (I only want black outline)
0072.0 0576.0 0288.0 0144.0 re
B
But the second rectangle appears with a black outline but is filled in red? How do I get red of the red fill?