Returns a color that is between the start and stop colors. The t parameter controls how close the color is to the start color (t=0) or to the stop color (t=1)
Namespace: RSGdiPlusGraphics
Delphi |
function InterpolateColor(const Start, Stop: TRSGPColor; t: Single): TRSGPColor; |
Parameters
Start
Type: TRSGPColor
Stop
Type: TRSGPColor
t
Type: Single
Type: TRSGPColor
Reference |