Represents the fill directions used for gradient fills.
Source position: graphics.pp line 992
type TGradientDirection = ( |
||
gdVertical, |
|
Gradient fill direction is vertically oriented. |
gdHorizontal |
|
Gradient fill direction is horizontally oriented. |
); |
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.
|
Fills a rectangle with a color gradient using the specified colors in a given direction. |
CT Web help |
CodeTyphon Studio |