The fill() method closes any subpaths and then fills each subpath in turn using fillStyle (which can be a color, or, as discussed later, a gradient object) to determine how to draw the fill.
With these pixel coordinates, we can draw lines emanating from the the points, recolor them, connect them, fill the surrounding area with color, or anything else GD can do.