Class Ellipse2d

    • Constructor Detail

      • Ellipse2d

        public Ellipse2d()
        Construct an empty ellipse.
      • Ellipse2d

        public Ellipse2d​(Point2D<?,​?> min,
                         Point2D<?,​?> max)
        Construct an ellipse with the given corners of its bouding box.
        Parameters:
        min - is the min corner of the ellipse.
        max - is the max corner of the ellipse.
      • Ellipse2d

        public Ellipse2d​(double x,
                         double y,
                         double width,
                         double height)
        Construct an ellipse with the given minimum corner and sizes of its bouding box.
        Parameters:
        x - x coordinate of the minium corner of the ellipse's bounding box.
        y - y coordinate of the minium corner of the ellipse's bounding box.
        width - width of the ellipse's bounding box.
        height - height of the ellipse's bounding box.
      • Ellipse2d

        public Ellipse2d​(Ellipse2afp<?,​?,​?,​?,​?,​?> ellipse)
        Constructor by copy.
        Parameters:
        ellipse - the ellipse to copy.