Class MEllipse

    • Constructor Detail

      • MEllipse

        public MEllipse()
        Constructs an ellipse.
      • MEllipse

        public MEllipse​(MPoint p1,
                        MPoint p2)
        Constructs a ellipse with the specified corner points.
        Parameters:
        p1 - the top left corner
        p2 - the bottom right corner
      • MEllipse

        public MEllipse​(MPoint p1,
                        MPoint p2,
                        Color c)
        Constructs a ellipse with the specified corner points and color.
        Parameters:
        p1 - the top left corner
        p2 - the bottom right corner
        c - the color
      • MEllipse

        protected MEllipse​(MEllipse e)
        Copy constructor.
        Parameters:
        e - the original ellipse
    • Method Detail