Transition
Inherits from: Timeline
Overview
An abstract class that contains the basic functionalities require by all
Transition based animations, such as PathTransition and RotateTransition.
This class offers a simple framework for incorporating animations onto an internal Timeline. It can also be used to compose the effects of multiple animations, such as ParallelTransition and SequentialTransition.
While Transitions are Timeline's, they cannot be customized by setting keyframes and keyvalues directly.
Profile: common
Variable Summary
| name | type | Default Value | description |
|---|---|---|---|
| node | Node | null |
The target node of this
|
| interpolator | Interpolator | EASEBOTH |
Controls the timing for acceleration and deceleration at each transition cycle. This may only be changed prior to starting the transition or after the transition has ended. If changed during a transition then the change will not take effect until the next transition. Default interpolator is set to Interpolator#EASEBOTH. |
Inherited Variables
Timeline
| name | type | Default Value | description |
|---|---|---|---|
| rate | Number | 1.0 |
Defines the direction/speed at which the
The absolute value of
Rate
Inverting the rate of a running
|
| time | Duration | 0s |
Defines the
If
If user wants to bind the variable and update it simultaneously, bidirectional
|
| interpolate | Boolean | true |
Enable/disable interpolation. |
| repeatCount | Number | 1.0 |
Defines the number of cycles in this animation. The
|
| autoReverse | Boolean | false |
Defines whether this animation reverses direction on alternating cycles. If
|
| keyFrames | KeyFrame |
Defines the sequence of
| |
| framerate | Number |
The maximum framerate at which this animation will run, in frames per second. This can be used, for example, to keep particularly complex Timelines from over-consuming system resources. By default, a Timeline's framerate is not explicitly limited, meaning the Timeline will run at an optimal framerate for the underlying platform. |
