touchgfx::MoveAnimator::startMoveAnimation() method
@fn void MoveAnimator::startMoveAnimation(int16_t endX, int16_t endY, uint16_t duration, EasingEquation xProgressionEquation = &EasingEquations::linearEaseNone, EasingEquation yProgressionEquation = &EasingEquations::linearEaseNone) Starts the move animation. Starts the move animation from the current position to the specified end position. The development of the position (X, Y) during the animation is described by the supplied EasingEquations.
Arguments
endX
The X position of T at animation end. Relative to the container or view that holds T.
endY
The Y position of T at animation end. Relative to the container or view that holds T.
duration
The duration of the animation measured in ticks.
xProgressionEquation
The equation that describes the development of the X position during the animation. Default = EasingEquations::linearEaseNone.
yProgressionEquation
The equation that describes the development of the Y position during the animation. Default = EasingEquations::linearEaseNone.