TCustomTeeGradient.MidColor
TCustomTeeGradient
property MidColor: TColor;
Unit
TeCanvas
Description
The MidColor property is one of the three colors used to create the gradient fill. The gradient fill is composed of three colors: TCustomTeeGradient.StartColor, MidColor and TCustomTeeGradient.EndColor.
If no MidColor is required (ie. for a 2 colour gradient) then set MidColor to clNone:
Example:
Chart1.Gradient.MidColor := clNone ;
See also:
TCustomTeeGradient.StartColor property.
TCustomTeeGradient.EndColor property.