TCustomTeeGradient.Draw
TCustomTeeGradient
procedure Draw(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 );
Submit your feedback about this page.
Copyright 1995-2007 © by Steema Software. All Rights Reserved.