Examples of Ellipse


Examples of buri.ddmsence.ddms.summary.tspi.Ellipse

        for (int i = 0; i < circles.size(); i++) {
          _tspiShapes.add(new Circle(circles.get(i)));
        }
        Elements ellipses = element.getChildElements(Ellipse.getName(getDDMSVersion()), tspiNamespace);
        for (int i = 0; i < ellipses.size(); i++) {
          _tspiShapes.add(new Ellipse(ellipses.get(i)));
        }
        Elements envelopes = element.getChildElements(Envelope.getName(getDDMSVersion()), tspiNamespace);
        for (int i = 0; i < envelopes.size(); i++) {
          _tspiShapes.add(new Envelope(envelopes.get(i)));
        }
View Full Code Here

Examples of buri.ddmsence.ddms.summary.tspi.Ellipse

          Circle circle = builder.commit();
          if (circle != null)
            shapes.add(circle);
        }
        for (Ellipse.Builder builder : getEllipses()) {
          Ellipse ellipse = builder.commit();
          if (ellipse != null)
            shapes.add(ellipse);
        }
        for (Envelope.Builder builder : getEnvelopes()) {
          Envelope envelope = builder.commit();
View Full Code Here

Examples of com.blitline.image.functions.Ellipse

  public static Despeckle despeckle() {
    return new Despeckle();
  }

  public static Ellipse ellipse(int centerX, int centerY, int width, int height) {
    return new Ellipse(centerX, centerY, width, height);
  }
View Full Code Here

Examples of com.blitline.image.functions.Ellipse

  public static Despeckle despeckle() {
    return new Despeckle();
  }

  public static Ellipse ellipse(int centerX, int centerY, int width, int height) {
    return new Ellipse(centerX, centerY, width, height);
  }
View Full Code Here

Examples of javafx.scene.shape.Ellipse

    final double arcRadius = innerRadius - (innerRadius / 100d);
    final double radiusX = centerX + adjAngleLength / 2d;
    final double radiusY = centerY + adjAngleLength / 2d;
    final double cx = (radiusX + innerRadius / 2.5d) * Math.cos(Math.toRadians(highlightAngle));
    final double cy = (radiusY + innerRadius / 2.5d) * Math.sin(Math.toRadians(highlightAngle));
    final Ellipse shape1 = new Ellipse(cx, cy, radiusX, radiusY);
    shape1.setFill(Color.GREEN);
    final Arc shape2 = new Arc(centerX, centerY, arcRadius, arcRadius, angleStart, adjAngleLength);
    shape2.setType(ArcType.ROUND);
    shape2.setFill(Color.WHITE);
   
    final Shape highlight = Shape.intersect(shape1, shape2);
View Full Code Here

Examples of javafx.scene.shape.Ellipse

     */
    protected Group createKnobSurface(final double startAngle, final double centerX,
        final double centerY, final double radiusX, final double radiusY,
        final Color... colors) {
      Group group = new Group();
      final Shape background = new Ellipse(centerX, centerY, radiusX, radiusY);
      background.setFill(new RadialGradient(0, 0, this.centerX, this.centerY,
        Math.max(radiusX, radiusY), false, CycleMethod.NO_CYCLE,
        new Stop(0, Color.BLACK), new Stop(0.95d, Color.DARKGRAY.darker()),
        new Stop(0.97d, Color.GRAY.brighter())));
      group.getChildren().add(background);
      double startRadians = startAngle * 2d * Math.PI;
 
View Full Code Here

Examples of net.edzard.kinetic.Ellipse

  private final static Vector2d changedRadius = new Vector2d(23,23);
 
  public void testChangeOfRadius() {
   
    // Create an ellipse
    final Ellipse e = Kinetic.createEllipse(position, originalRadius);
    layer.add(e);
    assertEquals("Creation method for Ellipse object does not set proper radius", originalRadius, e.getRadius());
   
    // Change radius
    e.setRadius(changedRadius);
    assertEquals("Could not properly change radius on Ellipse object",changedRadius, e.getRadius());
 
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.controls.Ellipse

     */
    public static Ellipse drawEllipse(JPanel form, int width, int height,
            int startX, int startY, int penColor, int fillColor, int lineStyle,
            int lineWeight, int contrastColor, int contrastPattern) {
        setForm(form);
        Ellipse ellipse = new Ellipse();

        ellipse.setContrastColor(contrastColor);
        ellipse.setContrastPattern(contrastPattern);
        ellipse.setLineWeight(lineWeight);
        ellipse.setLineStyle(lineStyle);
        ellipse.setVisible(true);
        java.awt.Point loc = location(startX, startY);
        ColourChange.setForeground(ellipse, penColor);
        ColourChange.setBackground(ellipse, fillColor);
        Widget.configure(ellipse, loc.x, loc.y, width, height);
        Parent.set(ellipse, form);
View Full Code Here

Examples of nu.fw.jeti.plugins.drawing.shapes.Ellipse

    Point2D.Double upperLeft = PointsOperations.upperLeftPoint(start, point);
    Point2D.Double bottomRight = PointsOperations.bottomRightPoint(start, point);
    double width = bottomRight.x - upperLeft.x;
    double height = bottomRight.y - upperLeft.y;
   
    Shape shape = new Ellipse(upperLeft.x, upperLeft.y,
        width, height, color, chat.getMyJID(), isFilled);
    chat.draw(shape);
    board.setCurrentShape(null);
  }
View Full Code Here

Examples of nu.fw.jeti.plugins.drawing.shapes.Ellipse

   
    if (board.getCurrentShape() != null) {
      (board.getCurrentShape()).setCoordinates(
              upperLeft.x + " " + upperLeft.y + " " + width + " " + height);
    } else {
      board.setCurrentShape(new Ellipse(upperLeft.x, upperLeft.y,
          width, height, color, chat.getMyJID(), isFilled));
    }
    board.repaint();   
  }
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.