FMX.Types.TSpline.SplineXY
Delphi
procedure SplineXY(const t: Single; var X, Y: Single);
C++
void __fastcall SplineXY(const float t, float &X, float &Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TSpline |
Description
Gets the interpolation point of a certain order.
t
is the order of the interpolation.
X
and Y
are the coordinates of the interpolation point.
In TPathAnimation.ProcessAnimation, SplineXY is used to get the position of the animated object on the Path at a certain percentage of the completion of the animation.