Examples of Rotate


Examples of ca.grimoire.jnoise.modules.transform.Rotate

   * @return a Rotate module.
   * @throws BuilderException
   *           if the source module has not been provided.
   */
  public Rotate createModule () throws BuilderException {
    return new Rotate (getSource ().createModule (), getX (), getY (), getZ ());
  }
View Full Code Here

Examples of com.blitline.image.functions.Rotate

  public static ResizeToFit resizeToFit(int maxWidth, int maxHeight) {
    return new ResizeToFit(maxWidth, maxHeight);
  }

  public static Rotate rotateBy(double degrees) {
    return new Rotate(degrees);
  }
View Full Code Here

Examples of com.blitline.image.functions.Rotate

  public static ResizeToFit resizeToFit(int maxWidth, int maxHeight) {
    return new ResizeToFit(maxWidth, maxHeight);
  }

  public static Rotate rotateBy(double degrees) {
    return new Rotate(degrees);
  }
View Full Code Here

Examples of com.blitline.image.functions.Rotate

  public static ResizeToFit resizeToFit(int maxWidth, int maxHeight) {
    return new ResizeToFit(maxWidth, maxHeight);
  }

  public static Rotate rotateBy(double degrees) {
    return new Rotate(degrees);
  }
View Full Code Here

Examples of it.stefanobertini.zebra.cpcl.labelmode.Rotate

public class RotateTest {

    @Test
    public void test() {
  Rotate command = new Rotate(45);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("ROTATE 45");

  assertCommand(output, command);
View Full Code Here

Examples of it.stefanobertini.zebra.cpcl.labelmode.Rotate

  assertCommand(output, command);
    }

    @Test
    public void testDefault() {
  Rotate command = new Rotate();

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("ROTATE 0");

  assertCommand(output, command);
View Full Code Here

Examples of it.stefanobertini.zebra.cpcl.labelmode.Rotate

  assertCommand(output, command);
    }

    @Test(expected = ValidationException.class)
    public void testValidate1() {
  Rotate command = new Rotate(-1);

  command.getCommandByteArray();
    }
View Full Code Here

Examples of it.stefanobertini.zebra.cpcl.labelmode.Rotate

  command.getCommandByteArray();
    }

    @Test(expected = ValidationException.class)
    public void testValidate2() {
  Rotate command = new Rotate(361);

  command.getCommandByteArray();
    }
View Full Code Here

Examples of javafx.scene.transform.Rotate

    final HBox hbox = new HBox(2);
    final int bands = UISession.getMediaPlayer().getAudioSpectrumNumBands() - 20;
    final Rectangle[] rects = new Rectangle[bands];
    for (int i = 0; i < rects.length; i++) {
      rects[i] = new Rectangle();
      rects[i].getTransforms().add(new Rotate(180, 0, 0)); //
      rects[i].setFill(Color.GRAY);
      rects[i].setArcHeight(screenHeight);
      hbox.getChildren().add(rects[i]);

    }
View Full Code Here

Examples of javafx.scene.transform.Rotate

      border.setTranslateX(offsetX);
      border.setTranslateY(offsetY);
      val.setTranslateX(offsetX);
      val.setTranslateY(offsetY);
      valContainer.getTransforms().add(new Rotate(angle, centerX, centerY));
    }
    Bindings.bindBidirectional(border.fillProperty(), backgroundFillProperty);
    border.setStroke(Color.GRAY);
    border.setStrokeWidth(1d);
    valContainer.getChildren().addAll(border, val);
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.