TTeeCanvas3D.GradientFill
 
 
 

All Units  All Classes  Properties, Methods and Events  

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;



Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.