TTeeCanvas3D.GradientFill
TTeeCanvas3D
procedure GradientFill(Const Gradient: TCustomTeeGradient; Const Rect: TRect); overload;
Unit
TeCanvas
Description
The GradientFill method is used to fill a Screen area with multi-colored lines to obtain a nice shadow effect and coloured backgrounds. The Chart.Gradient component uses this method internally.
Example
procedure TForm1.Button1Click(Sender: TObject);
begin
Chart1.Canvas.GradientFill( Canvas, ClientRect, clYellow, clBlue, True);
end;