-
Bug
-
Resolution: Fixed
-
P4
-
8
-
None
This issue is in reference to the documentation for javafx.scene.Node found at http://docs.oracle.com/javafx/2/api/javafx/scene/Node.html
In the section "Bounding Rectangles":
boundsInLocal is described as "...specifies the bounding rectangle of the Node in untransformed local coordinates."
boundsInParent is described as "...specifies the bounding rectangle of the Node after all transformations have been applied..."
However, in the example that follows of a node that has been rotated 20 degress, the red rectangle that appears to be a bounding rectangle without any transformations applied is denoted as boundsInParent, whereas the green rectangle that appears to be a bounding rectangle after the rotation transformation has been applied to the node is denoted as boundsInLocal.
There appears to be a contradiction between the descriptions of boundsInLocal and boundsInParent and the example (i.e boundsInLocal is described as not including transformations but exemplified as including transformations). As far as I can tell, the red rectangle in the example should be boundsInLocal and the green rectangle should be boundsInParent; not the other way around.
In the section "Bounding Rectangles":
boundsInLocal is described as "...specifies the bounding rectangle of the Node in untransformed local coordinates."
boundsInParent is described as "...specifies the bounding rectangle of the Node after all transformations have been applied..."
However, in the example that follows of a node that has been rotated 20 degress, the red rectangle that appears to be a bounding rectangle without any transformations applied is denoted as boundsInParent, whereas the green rectangle that appears to be a bounding rectangle after the rotation transformation has been applied to the node is denoted as boundsInLocal.
There appears to be a contradiction between the descriptions of boundsInLocal and boundsInParent and the example (i.e boundsInLocal is described as not including transformations but exemplified as including transformations). As far as I can tell, the red rectangle in the example should be boundsInLocal and the green rectangle should be boundsInParent; not the other way around.