Package javafx.scene.shape

Examples of javafx.scene.shape.Rectangle


      return 20;
    }
   
    public HandleGroup() {
      {
        Rectangle r = new Rectangle(16,1);
        r.setFill(Color.WHITE);
        r.setStroke(Color.BLACK);
        r.setLayoutX(0);
        r.setLayoutY(1);
        r.setStrokeType(StrokeType.OUTSIDE);
        getChildren().add(r);
      }
     
      {
        Rectangle r = new Rectangle(16,1);
        r.setFill(Color.WHITE);
        r.setStroke(Color.BLACK);
        r.setLayoutX(0);
        r.setLayoutY(4);
        r.setStrokeType(StrokeType.OUTSIDE);
        getChildren().add(r);
      }
     
      {
        Rectangle r = new Rectangle(16,1);
        r.setFill(Color.WHITE);
        r.setStroke(Color.BLACK);
        r.setLayoutX(0);
        r.setLayoutY(7);
        r.setStrokeType(StrokeType.OUTSIDE);
        getChildren().add(r);
      }
    }
View Full Code Here

TOP

Related Classes of javafx.scene.shape.Rectangle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.