Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPGradient > Methods
TRSGPGradient.InterpolateColor(Single) Method
Returns the color of the gradient at the point in the gradient between 0 and 1. The method calculates the colors between the gradient points.
Namespace: RSGdiPlusGraphics
Delphi
public function InterpolateColor(Offset: Single): TRSGPColor; overload;
Parameters
Offset
Type: Single
Type: TRSGPColor
•TRSGPGradient
•RSGdiPlusGraphics