Examples of moveTo()


Examples of org.noos.xing.mydoggy.itest.InteractiveMouse.moveTo()

    }

    protected void moveToolTo(InteractiveUI interactiveUI, String toolId, ToolWindowAnchor anchor) {
        InteractiveMouse mouse = interactiveUI.getInteractiveMouse();

        mouse.moveTo("toolWindow.rb." + toolId);
        interactiveUI.delay(500);
        mouse.press(InteractiveMouse.Type.LEFT);

        mouse.moveTo("toolWindowManager.bar." + anchor.toString(), 10, 15);
        interactiveUI.delay(500);
View Full Code Here

Examples of org.openpnp.spi.Actuator.moveTo()

    Location feedStartLocation = this.feedStartLocation;
    Location feedEndLocation = this.feedEndLocation;
    pickLocation = this.location;
   
    // Move the actuator to the feed start location at safeZ
    actuator.moveTo(feedStartLocation.derive(null, null, Double.NaN, Double.NaN), 1.0);

    // move to start of movement position
    actuator.moveTo(feedStartLocation.derive(null, null, null, Double.NaN), 1.0);

    // move to final laser activation position
View Full Code Here

Examples of org.openpnp.spi.Camera.moveTo()

          location = location.derive(
                  startX + ((imageWidthInUnits / 2) * currentImageX),
                  startY + ((imageHeightInUnits / 2) * currentImageY),
                  null,
                  null);
          camera.moveTo(location, 1.0);
        // Give the head and camera 500ms to settle
        Thread.sleep(500);
        // We capture two images to make sure that the one we save is
        // not coming from a previous frame.
        image = camera.capture();
View Full Code Here

Examples of org.openpnp.spi.Nozzle.moveTo()

    fireJobStateChanged();
    try {
      head.home();
      Nozzle nozzle = head.getNozzles().get(0);
      Location l = new Location(LengthUnit.Millimeters, 5.0, 20.0, 1.0, 0.0);
      nozzle.moveTo(l, 1.0);
    }
    catch (Exception e) {
      fireJobEncounteredError(JobError.MachineMovementError, e.getMessage());
      return;
    }
View Full Code Here

Examples of org.openscience.cdk.renderer.elements.path.PathBuilder.moveTo()

        s1.add(p2, per2);
        s2.add(p2, v1);
        s3.add( p2, per );


        pb.moveTo(f1).quadTo( f2,f3 ).lineTo( s1 ).quadTo( s2, s3 ).close();

        selectionElements.add(pb.createPath());

        }
View Full Code Here

Examples of org.sgx.yuigwt.yui.graphic.Shape.moveTo()

   
    //draw a path
    Shape diamond1 = g1.addShape(ShapeConfig.createPath().
      fill(Fill.create().color("blue").opacity(0.5))
    );
    diamond1.moveTo(60, 60);
    diamond1.lineTo(80, 40);
    diamond1.lineTo(100, 60);
    diamond1.lineTo(80, 80);
    diamond1.lineTo(60, 60);
    diamond1.end();
View Full Code Here

Examples of org.teavm.dom.canvas.CanvasRenderingContext2D.moveTo()

                    context.stroke();
                } else if (shape.getType() == ShapeType.POLYGON) {
                    PolygonShape poly = (PolygonShape)shape;
                    Vec2[] vertices = poly.getVertices();
                    context.beginPath();
                    context.moveTo(vertices[0].x, vertices[0].y);
                    for (int i = 1; i < poly.getVertexCount(); ++i) {
                        context.lineTo(vertices[i].x, vertices[i].y);
                    }
                    context.closePath();
                    context.stroke();
View Full Code Here

Examples of org.timepedia.chronoscope.client.plot.DefaultXYPlot.moveTo()

      double minHiliteDomain = plot.getWidestDomain().getStart();
      double maxHiliteDomain = toDomainX(overviewAxisBounds.rightX() + viewOffsetX - hiliteBounds.width, plot);

      hiliteLeftDomainX = MathUtil.bound(hiliteLeftDomainX, minHiliteDomain, maxHiliteDomain);

      plot.moveTo(hiliteLeftDomainX);
    }
  }
 
  /**
   * Converts the specified window-X value to a domain-X value.
View Full Code Here

Examples of org.vaadin.gwtgraphics.client.shape.Path.moveTo()

  private Path toPath(Polygon polygon) {
    Path path = toPath(polygon.getExteriorRing());
    for (int i = 0; i < polygon.getNumInteriorRing(); i++) {
      LinearRing interiorRing = polygon.getInteriorRingN(i);
      path.moveTo((int) interiorRing.getCoordinate().getX(), (int) interiorRing.getCoordinate().getY());
      for (int j = 1; j < interiorRing.getNumPoints() - 1; j++) {
        Coordinate coordinate = interiorRing.getCoordinateN(j);
        path.lineTo((int) coordinate.getX(), (int) coordinate.getY());
      }
      path.close();
View Full Code Here

Examples of org.vaadin.gwtgraphics.client.shape.Path.moveTo()

  private Path toPath(MultiPoint multiPoint) {
    Path path = new Path((int) multiPoint.getCoordinate().getX(), (int) multiPoint.getCoordinate().getY());
    for (int i = 1; i < multiPoint.getNumGeometries(); i++) {
      Point point = (Point) multiPoint.getGeometryN(i);
      path.moveTo((int) point.getX(), (int) point.getY());
    }
    return path;
  }

  private Path toPath(MultiLineString multiLineString) {
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.