TCustomTeeGradient.Draw
TCustomTeeGradient
procedure Draw(Const Canvas: TTeeCanvas; Const Rect: TRect; RoundRectSize: Integer); overload;
Unit
TeCanvas
Description
The Draw method fills the Canvas area determined by Rect parameter using the
Gradient color and direction properties.
The (optional) RoundRectSize parameter specifies the number of pixels to draw the
rectangle corners as "round".
The Canvas parameter should be a TeeChart Canvas.
Example:
Chart1.Gradient.Draw( Chart2.Canvas, Rect( 50,50,100,100 ), 5 );