MoveToPrimitiveAnimationDescriptor Class
Describes a move-to animation which moves the control to the specified location.
Properties
duration
Number
The duration of the movement in frames.
easing
String
The easing-type to use. Has no effect on "sound", "wait" and "playAnimation". Possible types are:
- linear_in/linear_out/linear_inout - Linear movement without any smoothing
- quad_in/quad_out/quad_inout - Quadratic Easing
- quart_in/quart_out/quart_inout - Quartic Easing
- sine_in/sine_out/sine_inout - Sinusoidal Easing
- cubic_in/cubic_out/cubic_inout - Cubic Easing
- expo_in/expo_out/expo_inout - Exponential Easing
- circ_in/circ_out/circ_inout - Circual Easing
Default: "linear_inout"
position
Number
The target position where the control should be moved to.
repeat
Boolean
Indicates if the animation should be played again with the next run of the animation-flow.
Default: true
type
String
Defines the kind of animation to execute. Supported types are:
- changeTo
- moveTo
- blendTo
- zoomTo
- maskTo
- shake
- playAnimation
- changeImages
- sound
- wait
Check the different primitive animation descriptors to get more information.
wait
Boolean
Indicates if the animation-flow wait for the animation to finish before playing the next. If set to false multiple animation can be played in parallel.
Default: false