Defines the angle of rotation about the Node
's center, measured in
degrees. This is used to rotate the Node
.
This rotation factor is not included in layoutBounds
by
default, which makes it ideal for rotating the entire node after
all effects and transforms have been taken into account.
The pivot point about which the rotation occurs is the center of the
untransformed layoutBounds
.
Note that because the pivot point is computed as the center of this
Node
's layout bounds, any change to the layout bounds will cause
the pivot point to change, which can move the object. For a leaf node,
any change to the geometry will cause the layout bounds to change.
For a group node, any change to any of its children, including a
change in a child's geometry, clip, effect, position, orientation, or
scale, will cause the group's layout bounds to change. If this movement
of the pivot point is not
desired, applications should instead use the Node's transforms
ObservableList, and add a javafx.scene.transform.Rotate
transform,
which has a user-specifiable pivot point.
Node
@defaultValue 0.0
Diagram: Node