Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8099202

Now that tranforms can be on the Z-axis, reporting minZ of the bounds in scene would be nice

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • fx1.3
    • javafx
    • JavaFX 1.3 Feb 25,2010 build

      Now that tranforms can be on the Z-axis, reporting minZ of the bounds in scene would be nice. For example, after a node named frontFace has been rotated on x, y, and z axes, the following expression returns a non-zero value:

      frontFace.localToScene(frontFace.boundsInLocal).minX

      But, this expression always returns zero:
      frontFace.localToScene(frontFace.boundsInLocal).minZ

      I'm particularly interested in minZ, as knowing that will allow me to calculate the proper Z-order of placing nodes in a container. Attached is a screen shot of what I'm trying to accomplish, rotating on all three axes, etc.

      Thanks,
      Jim Weaver

            kcr Kevin Rushforth
            jweaver Jim Weaver (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: