TdxGaugeQuantitativeScaleCustomOptionsAnimate.TransitionEffect Property
Specifies which easing function is used to calculate the animation effect applied to a quantitative scale.
Declaration
property TransitionEffect: TdxGaugeQuantitativeScaleAnimationTransitionEffect read; write; default ateAccelerateDecelerate;
Property Value
Type | Default |
---|---|
TdxGaugeQuantitativeScaleAnimationTransitionEffect | ateAccelerateDecelerate |
Remarks
Both the TransitionEffect and TransitionEffectMode property value are used to determine the actual animation effect applied to a linear, arc, or wide circular scale. You can assign one of the following values to the TransitionEffect property (three Examples columns show the actual scale indicator transition graphs for each of the TransitionEffectMode property values, respectively):
The TransitionEffect Property Value | Description | Examples (for the Different TransitionEffectMode Property Values) | ||
ateLinear | In this case, no easing function is applied to the value indicator animation sequence. The TransitionEffectMode property has no effect, and the transition between two scale values is always linear. | |||
ateAccelerateDecelerate | In this case, the default easing function is applied to both the beginning and end of the value indicator animation sequence regardless of the TransitionEffectMode property value. | |||
ateCubic | This easing function accelerates and/or decelerates the value indicator animation sequence using the formula f(t) = t^3. | |||
ateTanh | This easing function accelerates and decelerates the value indicator animation sequence using the hyperbolic tangent formula. In this case, the TransitionEffectMode property has no effect. | |||
ateBack | This easing function retracts the motion of an animation slightly before it begins to animate the transition between two values displayed by an indicator. | |||
ateBounce | This easing function applies a bouncing effect to the beginning and/or end of the animation sequence of the transition between two values displayed by an indicator. | |||
ateCircle | This easing function accelerates and/or decelerates the value indicator animation sequence using a circular function. | |||
ateElastic | This easing function applies the spring oscillation effect to the beginning and/or end of the animation sequence of the transition between two values displayed by an indicator. | |||
ateExponential | This easing function accelerates and/or decelerates the value indicator animation sequence using an exponential formula. | |||
ateSine | This easing function accelerates and/or decelerates the value indicator animation sequence using a sine formula. | |||
ateQuadratic | This easing function accelerates and/or decelerates the value indicator animation sequence using the formula f(t) = t^2. | |||
ateQuartic | This easing function accelerates and/or decelerates the value indicator animation sequence using the formula f(t) = t^4. |
To set the scale indicator animation speed, use the Interval property.
The default value of the TransitionEffect property is ateAccelerateDecelerate.