FMX.Utils.InterpolateColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function InterpolateColor(const Start, Stop: TAlphaColor; T: Single): TAlphaColor;

C++

extern DELPHI_PACKAGE System::Uitypes::TAlphaColor __fastcall InterpolateColor(const System::Uitypes::TAlphaColor Start, const System::Uitypes::TAlphaColor Stop, float T);

Properties

Type Visibility Source Unit Parent
function public
FMX.Utils.pas
FMX.Utils.hpp
FMX.Utils FMX.Utils

Description

Calculates the current value of an interpolation for alpha color values.

Start is the start color of the interpolation.

Stop is the end color of the interpolation.

t is the current time of the interpolation.

See Also