Draws a gradient from top to bottom with parabolic color variation.
Source position: graphutil.pp line 54
procedure DrawVerticalGradient( |
Canvas: TCanvas; |
ARect: TRect; |
TopColor: TGraphicsColor; |
BottomColor: TGraphicsColor |
); |
Canvas |
|
Canvas where the gradient is drawn. |
ARect |
|
Rectangle that defines the drawing boundaries for the gradient. |
TopColor |
|
Color used at the top of the gradient. |
BottomColor |
|
Color used at the end or bottom of the gradient. |