Class MEllipse

All Implemented Interfaces:
Serializable, Cloneable

@PublicApi public class MEllipse extends MRectangle
Ellipse object.
Since:
Marvin 5.3,
See Also:
  • Constructor Details

    • 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 Details