You are here: Symbol Reference > _AbProc Namespace > Functions > AbGradFill Function
ContentsIndexHome
PreviousUpNext
_AbProc.AbGradFill Function
Send Feedback

Method to fill a rectangle with a gradient

File
Pascal
procedure AbGradFill(can: TCanvas; r: TRect; ColFrom: TColor; ColTo: TColor; Style: TGradientStyle);
C++
AbGradFill(TCanvas can, TRect r, TColor ColFrom, TColor ColTo, TGradientStyle Style);
Parameters
Parameters 
Description 
can: TCanvas 
canvas 
r: TRect 
the rectangle 
ColFrom: TColor 
gradient start color 
ColTo: TColor 
gradient end color 
Style: TGradientStyle 
the gradient style 
Description

Paints a gradient into a rectangle with selectable style

Hard-& Software A.Baecker
What do you think about this topic? Send feedback!