Example usage for javafx.scene.shape Ellipse radiusYProperty

List of usage examples for javafx.scene.shape Ellipse radiusYProperty

Introduction

In this page you can find the example usage for javafx.scene.shape Ellipse radiusYProperty.

Prototype

public final DoubleProperty radiusYProperty() 

Source Link

Usage

From source file:Main.java

@Override
public void start(Stage primaryStage) {
    primaryStage.setTitle("Shapes");
    Group root = new Group();
    Scene scene = new Scene(root, 300, 300, Color.WHITE);

    Ellipse bigCircle = new Ellipse(20, 20);
    bigCircle.setCenterX(20);/*from  w w w. j a  v  a2s.  c  o m*/
    bigCircle.setCenterY(20);
    bigCircle.setRadiusX(10);
    bigCircle.setRadiusY(10);

    System.out.println(bigCircle.radiusYProperty());

    root.getChildren().add(bigCircle);

    primaryStage.setScene(scene);
    primaryStage.show();
}