TGradientDirection enumeration
Represents the fill directions used for gradient fills.
Declaration
TGradientDirection = (gdVertical,gdHorizontal)Description
TGradientDirection is an enumerated type with values that control
the fill direction used for a gradient color fill. It is an alias to the
TFPGradientDirection type defined in the FCL (
fpcanvas.pp) for
compiler versions starting with 3.3.1. Separate constant aliases are defined
for the gdVertical and gdHorizontal values for these compiler versions.
Previous FPC versions define the enumeration values in this unit.
TGradientDirection is the type used for the argument passed to the
TCanvas.GradientFill method which controls the fill direction or
orientation for the colors used to fill a rectangular region on the canvas.
Modified in LCL version 4.2 to be an alias to the TFPGradientDirection type defined in the FCL for FPC compiler versions 3.3.1 and higher.
See also
Values
gdVertical | Gradient fill direction is vertically oriented. |
gdHorizontal | Gradient fill direction is horizontally oriented. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
