A linear color gradient is specified by a two or more points, and a color at each point.
The colors along the line through those points are calculated using linear interpolation, then extended perpendicular to that line.
Figure 1: Polygon filled with the TLinearGradientPolygonFiller