Returns a color that is an interpolation between the two input colors. The Frac parameters specifies the interpolation point (0 = Color1, 1 = Color2). Any value between 0 and 1 is a mixture of the two colors
Namespace: RSVclGraphics
Delphi |
function InterpolateColor(Color1, Color2: TColor; Frac: single): TColor; |
Parameters
Color1
Type: TColor
Color2
Type: TColor
Frac
Type: single
Type: TColor
Reference |