Once you set a fillStyle, everything you draw from that point on is filled with that style, until you change the style.
Look at the example and notice how once we set a fillStyle, it stays in effect until we change it.
Try making one of the green lines blue.
|
|