You are here: Symbol Reference > _AbProc Namespace > Functions > AbCalcColor Function
ContentsIndexHome
PreviousUpNext
_AbProc.AbCalcColor Function
Send Feedback

Calculates a color for gradients

File
Pascal
function AbCalcColor(ColFrom: TColor; ColTo: TColor; Steps: Integer; step: Integer): TColor;
C++
TColor AbCalcColor(TColor ColFrom, TColor ColTo, int Steps, int step);
Parameters
Parameters 
Description 
ColFrom: TColor 
the gradient start color 
ColTo: TColor 
the gradient end color 
Steps: Integer 
total number of steps 
step: Integer 
actual step 
Returns

The calculated color for this "step"

Description

calculated color 

Calculates a color gradient

Hard-& Software A.Baecker
What do you think about this topic? Send feedback!