Icon AddColorStop Method

procedure AddColorStop(Position: Double; Color: TColor)

Available In: Visual Client Applications

Use this method to add a color stop to the gradient. Color stops are specified as a position between 0.0 and 1.0 along with a color that will start at that position. After specifying two or more color stops, the gradient will smoothly interpolate colors between the various stops.

Information If you only specify a single color stop, then the gradient will display that color as a solid color with no interpolation.
Image