The rectangular bounds of this Node
which include its transforms.
boundsInParent
is calculated by
taking the local bounds (defined by boundsInLocal
) and applying
the transform created by setting the following additional variables
transforms
ObservableListscaleX
, scaleY
, scaleZ
rotate
layoutX
, layoutY
translateX
, translateY
,
translateZ
The resulting bounds will be conceptually in the coordinate space of the
Node
's parent, however the node need not have a parent to calculate
these bounds.
Note that this method does not take the node's visibility into account;
the computation is based on the geometry of this Node
only.
This property will always have a non-null value.
Note that boundsInParent
is automatically recomputed whenever the
geometry of a node changes, or when any of the following the change:
transforms ObservableList
, any of the translate, layout or scale
variables, or the rotate variable. For this reason, it is an error
to bind any of these values in a node to an expression that depends upon
this variable. For example, the x or y variables of a shape, or
translateX
, translateY
should never be bound to
boundsInParent
for the purpose of positioning the node.
Node
Diagram: Node