Provides movements which can be used when running effects in an animation.
Package SpecificationContains both easing and non easing equations:
An easing equation goes from an initial value to a target value (from 0 to 255 for instance ). These movements are :
Other equations have custom animation path. (from 0 to 0 with values going up to 255 for instance). These movements are :
Easing movements contains 'In' or/and 'Out' in their names.
- 'In' means that the major part of the movement is applied right at the beginning.
- 'Out' means that the major part is applied at the end.
- 'InOut' combines an movement at beginning and at the end.
Related DocumentationFor snippets and additional documentation, please see:
Interface Summary Interface Description IMovementInterface for movement implementations.
Class Summary Class Description AbstractMovementAbstract implementation of IMovement. BounceOutBounces at the end like a falling ball on the floor. ElasticOutBehave like an elastic at the end. ExpoOutMoves fast at first then slow down until it reaches the max value. LinearInOutMoves at a constant speed. QuartInMoves slowly at first then accelerates until it reaches the max value. QuartInOutMoves slowly first then accelerate and finally slow down until it reaches the max value. QuartOutMoves fast at first then slow down until it reaches the max value. SinusDecreaseVariationThis movement goes from 0 to 0 with intermediate values between -amplitude and amplitude an decreasing with time. SinusVariationThis movement goes from 0 to 0 with intermediate values between -amplitude and amplitude.