Basics
Guides
API Reference
Basics
Guides
API Reference
[9:7] extends: FxObj
Represents a JavaFX RotateTransition that animates the rotation of a node.
RotateTransition (double Millis)
Creates a new RotateTransition with the specified duration.
Millis is a double with the animation duration in milliseconds.setNode (object NodeObj)
Sets the target node for this rotation animation.
NodeObj is the scene-graph node to animate.this object.setFromAngle (double Angle)
Sets the starting angle for the rotation animation.
Angle is a double with the starting rotation angle in degrees.this object.setToAngle (double Angle)
Sets the ending angle for the rotation animation.
Angle is a double with the ending rotation angle in degrees.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 rotation animation.
this object.stop ()
Stops the rotation 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 rotation 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 ObjectPropertysetAxis (object Axis)
Sets the axis around which the rotation animation runs.
Axis is a Point3D wrapper for the rotation axis.this object.getAxis ()
Returns the rotation axis as a JavaFX Point3D.
An AJO wrapping javafx.geometry.Point3D.axisProperty ()
Returns the ObjectProperty backing the rotation axis.
An ObjectPropertygetFromAngle ()
Returns the starting angle for the rotation animation in degrees.
A double with the starting angle.fromAngleProperty ()
Returns the DoubleProperty backing the from angle.
A DoubleProperty AJO.getToAngle ()
Returns the ending angle for the rotation animation in degrees.
A double with the ending angle.toAngleProperty ()
Returns the DoubleProperty backing the to angle.
A DoubleProperty AJO.setByAngle (double Angle)
Sets the relative angle change applied each cycle of the animation.
Angle is a double in degrees added to the current angle each cycle.this object.getByAngle ()
Returns the relative angle change applied each cycle in degrees.
A double with the by angle.byAngleProperty ()
Returns the DoubleProperty backing the by angle.
A DoubleProperty AJO.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.