public final class AnimationProvider extends Object
| Modifier and Type | Method and Description |
|---|---|
static javafx.animation.FadeTransition |
createFadeTransition(javafx.scene.Node node,
double fromValue,
double toValue,
int cycleCount,
double duration)
Method to create a FadeTransition with several parameters.
|
public static javafx.animation.FadeTransition createFadeTransition(javafx.scene.Node node,
double fromValue,
double toValue,
int cycleCount,
double duration)
node - the node to which the transition should be appliedfromValue - the opacity value from which the transition should starttoValue - the opactity value where the transition should endcycleCount - the number of times the animation should be played (use Animation.INDEFINITE for endless)duration - the duration which one animation cycle should takeCopyright © 2015–2016 openbase.org. All rights reserved.