Basics
Guides
API Reference
Basics
Guides
API Reference
[9:7] extends: FxObj
Represents a JavaFX ScaleTransition that animates the scale of a node.
ScaleTransition (double Millis)
Creates a new ScaleTransition with the specified duration.
Millis is a double with the animation duration in milliseconds.setNode (object NodeObj)
Sets the target node for this scale animation.
NodeObj is the scene-graph node to animate.this object.setFromX (double Val)
Sets the starting X scale factor for the animation.
Val is a double with the starting horizontal scale factor.this object.setFromY (double Val)
Sets the starting Y scale factor for the animation.
Val is a double with the starting vertical scale factor.this object.setToX (double Val)
Sets the ending X scale factor for the animation.
Val is a double with the ending horizontal scale factor.this object.setToY (double Val)
Sets the ending Y scale factor for the animation.
Val is a double with the ending vertical scale factor.this object.setCycleCount (int Count)
Sets the number of times the animation cycles before stopping.
Count is an int with the cycle count; pass -1 for indefinite looping.this object.setAutoReverse (bool Auto)
Sets whether the animation reverses direction on alternating cycles.
Auto is a bool; true enables auto-reverse.this object.play ()
Starts playing the scale animation.
this object.stop ()
Stops the scale animation.
this object.setOnFinished (callback OnFinished)
Registers a callback to invoke when the animation finishes.
OnFinished is a callback invoked with an ActionEvent when the animation completes.this object.getNode ()
Returns the target node for this scale animation.
An AJO wrapping javafx.scene.Node, or null.nodeProperty ()
Returns the ObjectProperty backing the target node.
An ObjectPropertysetDuration (double Millis)
Sets the animation duration from a double in milliseconds.
Millis is a double with the duration in milliseconds.this object.getDuration ()
Returns the animation duration.
An AJO wrapping javafx.util.Duration.durationProperty ()
Returns the ObjectProperty backing the animation duration.
An ObjectPropertygetFromX ()
Returns the starting X scale factor for the animation.
A double with the from X value.fromXProperty ()
Returns the DoubleProperty backing the from X scale.
A DoubleProperty AJO.getFromY ()
Returns the starting Y scale factor for the animation.
A double with the from Y value.fromYProperty ()
Returns the DoubleProperty backing the from Y scale.
A DoubleProperty AJO.setFromZ (double Val)
Sets the starting Z scale factor for the animation.
Val is a double with the starting Z scale factor.this object.getFromZ ()
Returns the starting Z scale factor for the animation.
A double with the from Z value.fromZProperty ()
Returns the DoubleProperty backing the from Z scale.
A DoubleProperty AJO.getToX ()
Returns the ending X scale factor for the animation.
A double with the to X value.toXProperty ()
Returns the DoubleProperty backing the to X scale.
A DoubleProperty AJO.getToY ()
Returns the ending Y scale factor for the animation.
A double with the to Y value.toYProperty ()
Returns the DoubleProperty backing the to Y scale.
A DoubleProperty AJO.setToZ (double Val)
Sets the ending Z scale factor for the animation.
Val is a double with the ending Z scale factor.this object.getToZ ()
Returns the ending Z scale factor for the animation.
A double with the to Z value.toZProperty ()
Returns the DoubleProperty backing the to Z scale.
A DoubleProperty AJO.setByX (double Val)
Sets the relative X scale change applied each cycle.
Val is a double added to the current X scale each cycle.this object.getByX ()
Returns the relative X scale change applied each cycle.
A double with the by X value.byXProperty ()
Returns the DoubleProperty backing the by X scale.
A DoubleProperty AJO.setByY (double Val)
Sets the relative Y scale change applied each cycle.
Val is a double added to the current Y scale each cycle.this object.getByY ()
Returns the relative Y scale change applied each cycle.
A double with the by Y value.byYProperty ()
Returns the DoubleProperty backing the by Y scale.
A DoubleProperty AJO.setByZ (double Val)
Sets the relative Z scale change applied each cycle.
Val is a double added to the current Z scale each cycle.this object.getByZ ()
Returns the relative Z scale change applied each cycle.
A double with the by Z value.byZProperty ()
Returns the DoubleProperty backing the by Z scale.
A DoubleProperty AJO.interpolate (double Fraction)
Advances the animation to the position represented by the supplied fraction.
Fraction is a double in the range 0.0 to 1.0.this object.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.