[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_base' (#fpgui)

TfpgCanvasBase.GradientFill

Paints a rectangle with a gradient

Declaration

Source position: fpg_base.pas line 399

public procedure TfpgCanvasBase.GradientFill(

  ARect: TfpgRect;

  AStart: TfpgColor;

  AStop: TfpgColor;

  ADirection: TGradientDirection

);

Description

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.


Documentation generated on: 2013-04-29