List of usage examples for javafx.scene.shape Circle translateZProperty
public final DoubleProperty translateZProperty()
From source file:Main.java
private Parent createRoot() { Circle node1 = CircleBuilder.create().centerX(-50).centerY(-50).radius(100).fill(Color.RED).build(); node1.translateZProperty().bind(translateZForNode1); final Rotate rotate = RotateBuilder.create().pivotX(0).pivotY(0).pivotZ(0).axis(new Point3D(1, 0, 0)) .build();//from w w w. j a v a 2s . com rotate.angleProperty().bind(angle); return GroupBuilder.create().children(node1).translateX(250).translateY(250).transforms(rotate).build(); }