Package javafx.scene.shape

Examples of javafx.scene.shape.Rectangle.translateZProperty()


                    new ReadOnlyDoubleWrapper(1.0),
                    new ReadOnlyDoubleWrapper(1).subtract(shade.multiply(0.5)),
                    new ReadOnlyDoubleWrapper(1.0)));
            r.translateXProperty().bind(size.multiply(-0.5));
            r.translateYProperty().bind(size.multiply(-0.5));
            r.translateZProperty().bind(size.multiply(0.5));
           
            getChildren().add(r);
        }
       
        {
View Full Code Here


            r.widthProperty().bind(this.size);
            r.heightProperty().bind(this.size);
            r.fillProperty().bind(color);
            r.translateXProperty().bind(size.multiply(-0.5));
            r.translateYProperty().bind(size.multiply(-0.5));
            r.translateZProperty().bind(size.multiply(-0.5));
            r.setRotate(90);
           
            getChildren().add(r);
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.