5 Replies Latest reply on Jul 6, 2011 12:48 PM by Narayan

    Java FX 1.3 and  Node Bounds

      Hi to all, i have this problem
      i write a simple program that i see a rectangle and a cirlce, i use drag and drop for move this 2d geometry figure.
      Now i want to print the layout bound for each 2d geometry figure.
      i use this code
      public var myBox = javafx.scene.layout.Container{
      // here i write the code see for rectangle and circle and i insert into myBox
      Button {
                    translateX: 15
                          translateY: 35
                         text: "info obj"
                          action: function() {
      println("Local bounds: {myBox.boundsInLocal}");
      do you have idea?
      best regads

      Edited by: De Curtis on 2-lug-2011 8.31