All Implemented Interfaces:
Cloneable, DrawOperation

public class Ellipse extends BasicShape implements DrawOperation
Draw an ellipse.
See Also:
  • Field Details

    • width

      protected int width
    • height

      protected int height
  • Constructor Details

    • Ellipse

      public Ellipse()
  • Method Details

    • setWidth

      public void setWidth(int width)
      Set the width.
      width - the width of the ellipse.
    • setHeight

      public void setHeight(int height)
      Set the height.
      height - the height of the ellipse.
    • executeDrawOperation

      public executeDrawOperation()
      Abstract method which is intended to create an image buffer and return it so it can be drawn into another object. Use an Alpha channel for a "transparent" background..
      Specified by:
      executeDrawOperation in interface DrawOperation
      a planar image