FMX.InertialMovement.TAniCalculations.DoCalc
Delphi
procedure DoCalc(const DeltaTime: Double; var NewPoint, NewVelocity: TPointD; var Done: Boolean); virtual;
C++
virtual void __fastcall DoCalc(const double DeltaTime, TPointD &NewPoint, TPointD &NewVelocity, bool &Done);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.InertialMovement.pas FMX.InertialMovement.hpp |
FMX.InertialMovement | TAniCalculations |
Description
Calculates parameters of the inertial scrolling.
Descendant classes can override DoCalc as necessary.