Class Ellipse

java.lang.Object
org.openpatch.scratch.Shape
org.openpatch.scratch.Ellipse

public class Ellipse extends Shape
An ellipse inside a rectangle along the axes.
  • Constructor Details

    • Ellipse

      public Ellipse(double x, double y, double width, double height)
      Parameters:
      x - the smallest x of the rectangle around it
      y - the smallest y of the rectangle around it
      width - the width
      height - the height