The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



DrawGradient


Unit:SDL_gradfl
Class:TGradFill
Declaration:procedure DrawGradient (var bmp: TBitMap);

The method DrawGradient draws the gradient by filling the bitmap bmp. The parameters of the gradient are determined by the properties ColorFirst, ColorLast, ColorFlipped, FillType, and NrColors.

Hint: You may use the method DrawGradient to draw a color gradient on any bitmap "in the off" by creating an invisible instance of TGradFill.



Last Update: 2012-Oct-20