Class Oval

All Implemented Interfaces:
GraphicalElement

public class Oval extends Rectangle
An oval (i.e. an ellipse).
  • Constructor Details

    • Oval

      public Oval(GraphPoint center, double width, double height, GraphicAttributes attributes)
      Creates a new instance.
      Parameters:
      center - The position of the center of this element.
      width - The width.
      height - The height.
      attributes - Drawing attributes. Can be null.
  • Method Details