[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Paints a rectangle with a gradient
Source position: fpg_base.pas line 394
public procedure TfpgCanvasBase.GradientFill( |
ARect: TfpgRect; |
AStart: TfpgColor; |
AStop: TfpgColor; |
ADirection: TGradientDirection |
); |
Paints a rectangle with a gradient. If the gradient direction is set to gdHorizontal, then it pains from left to right. If the gradient direction is set to gdVertical, then it paints from top to bottom.