Examples of centerYProperty()


Examples of javafx.scene.shape.Circle.centerYProperty()

        this.panel.getStyleClass().add("editor");

        final Circle c = new Circle(200 + 25, Color.BEIGE);
        c.centerXProperty().bind(getRootNode().widthProperty().divide(2)/* .add(70) */);
        c.centerYProperty().bind(getRootNode().heightProperty().divide(2));

        this.panel.getChildren().add(c);

        getRootNode().setContent(this.panel);

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.