Examples of Rotate


Examples of javafx.scene.transform.Rotate

   
    border2.setTranslateX(offsetX);
    border2.setTranslateY(offsetY);
    double angle2 = 180d - getGeometericEndAngle();
   
    valContainer.getTransforms().add(new Rotate(angle2, centerX, centerY));
    Bindings.bindBidirectional(border2.fillProperty(), backgroundFillProperty);
    border2.setStroke(Color.GRAY);
    border2.setStrokeWidth(1d);
    valContainer.getChildren().add(border2);
    return valContainer;
View Full Code Here

Examples of javafx.scene.transform.Rotate

    indicatorBase.setCacheHint(CacheHint.ROTATE);
    final double ix = centerX - (indicatorWidth / 1.2);
    final double iy = centerY - (indicatorHeight / 2);
   
    // indicator shape
    final Rotate indicatorRotate = new Rotate(this.angleProperty.get(), centerX, centerY);
    Bindings.bindBidirectional(indicatorRotate.angleProperty(), this.angleProperty);
    Shape indicatorShape;
    if (indicatorType == IndicatorType.KNOB) {
      indicatorShape = createIndicatorShape(indicatorType, ix, iy, indicatorWidth - pointDistance,
          indicatorHeight - pointDistance, pointDistance,
          centerX, centerY, fillProperty);
View Full Code Here

Examples of javafx.scene.transform.Rotate

      final Rectangle tm = new Rectangle(x, y, width, height);
      tm.setSmooth(false);
      tm.setCache(true);
      tm.setCacheHint(CacheHint.QUALITY);
      Bindings.bindBidirectional(tm.fillProperty(), tickMarkFillProperty);
    tm.getTransforms().addAll(new Rotate(angle, centerX, centerY));
    return tm;
    }
View Full Code Here

Examples of javafx.scene.transform.Rotate

    }

    public void init() {
        lives= 3;
        planePhysicalObject = new PlanePhysicalObject();
        rotate = new Rotate(0, Rotate.X_AXIS);
        getTransforms().clear();
        getTransforms().add(rotate);
        setPlacement();
    }
View Full Code Here

Examples of javafx.scene.transform.Rotate

        setDelay(Duration.seconds(0.2));
    }

    @Override protected void starting() {
        super.starting();
        rotate = new Rotate(0,0,node.getBoundsInLocal().getHeight());
        timeline = TimelineBuilder.create()
            .keyFrames(
                new KeyFrame(Duration.millis(0),   
                    new KeyValue(node.opacityProperty(), 0, WEB_EASE),
                    new KeyValue(rotate.angleProperty(), 90, WEB_EASE)
View Full Code Here

Examples of javafx.scene.transform.Rotate

    }

    @Override protected void starting() {
        super.starting();
        double endY = node.getScene().getHeight() - node.localToScene(0, 0).getY();
        rotate = new Rotate(0,0,0);
        timeline = TimelineBuilder.create()
            .keyFrames(
                new KeyFrame(Duration.millis(0),   
                    new KeyValue(rotate.angleProperty(), 0, Interpolator.EASE_BOTH)
                ),
View Full Code Here

Examples of javafx.scene.transform.Rotate

        setDelay(Duration.seconds(0.2));
    }

    @Override protected void starting() {
        super.starting();
        rotate = new Rotate(0,
                node.getBoundsInLocal().getWidth(),
                node.getBoundsInLocal().getHeight());
        timeline = TimelineBuilder.create()
            .keyFrames(
                new KeyFrame(Duration.millis(0),   
View Full Code Here

Examples of javafx.scene.transform.Rotate

        setDelay(Duration.seconds(0.2));
    }

    @Override protected void starting() {
        super.starting();
        rotate = new Rotate(0,
                node.getBoundsInLocal().getWidth(),
                node.getBoundsInLocal().getHeight());
        timeline = TimelineBuilder.create()
            .keyFrames(
                new KeyFrame(Duration.millis(0),   
View Full Code Here

Examples of javafx.scene.transform.Rotate

        setDelay(Duration.seconds(0.2));
    }

    @Override protected void starting() {
        super.starting();
        rotate = new Rotate(0,0,node.getBoundsInLocal().getHeight());
        timeline = TimelineBuilder.create()
            .keyFrames(
                new KeyFrame(Duration.millis(0),   
                    new KeyValue(node.opacityProperty(), 0, WEB_EASE),
                    new KeyValue(rotate.angleProperty(), -90, WEB_EASE)
View Full Code Here

Examples of javafx.scene.transform.Rotate

        setDelay(Duration.seconds(0.2));
    }

    @Override protected void starting() {
        super.starting();
        rotate = new Rotate(0,0,node.getBoundsInLocal().getHeight());
        timeline = TimelineBuilder.create()
            .keyFrames(
                new KeyFrame(Duration.millis(0),   
                    new KeyValue(node.opacityProperty(), 1, WEB_EASE),
                    new KeyValue(rotate.angleProperty(), 0, WEB_EASE)
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.