Example usage for javafx.scene.paint Color GREY

List of usage examples for javafx.scene.paint Color GREY

Introduction

In this page you can find the example usage for javafx.scene.paint Color GREY.

Prototype

Color GREY

To view the source code for javafx.scene.paint Color GREY.

Click Source Link

Document

The color grey with an RGB value of #808080

Usage

From source file:nars.rl.util.ThreeDView.java

public ThreeDView(HyperassociativeMap h) {
    super();/*from w ww . jav a  2 s . c  o  m*/

    this.map = h;
    buildScene();
    buildCamera();
    buildAxes();
    world.getChildren().addAll(space);

    double scale = 200.0;
    for (Object c : h.keys()) {
        ArrayRealVector v = h.getPosition((UIVertex) c);
        if (v.getDimension() >= 3) {
            double x = v.getEntry(0);
            double y = v.getEntry(1);
            double z = v.getEntry(2);
            addPoint(c, 40.0, x * scale, y * scale, z * scale);
        }
    }

    Scene scene = new Scene(root, 1024, 768, true);
    scene.setFill(Color.GREY);
    handleKeyboard(scene, world);
    handleMouse(scene, world);

    setScene(scene);

    scene.setCamera(camera);
}