Declaration
property FillColor2: TColor;
Description
The end color for the shape gradient.
If
FillColor2 is clNone, the shape is filled by a solid color specified by
FillColor. If
FillColor2 is different from
FillColor it is drawn as a gradient.
The direction of the gradient is specified by
FillGradient.
Default: clNone
// Set a vertical gradient fill for an ellipse
ImageEnView1.CurrentLayer.FillColor2 := clRed;
ImageEnView1.CurrentLayer.FillColor := clYellow;
ImageEnView1.CurrentLayer.FillGradient := gpgVertical;
ImageEnView1.CurrentLayer.BorderWidth := 0;
ImageEnView1.Update();

// Disable the gradient fill
TIEShapeLayer( ImageEnView1.CurrentLayer ).FillColor2 := clNone;
ImageEnView1.Update();

See Also
◼TIELayer.FillColor2
◼FillColor
◼FillGradient
◼FillOpacity