image
Class Ellipse
java.lang.Object
   image.Image
image.Image
       image.Rectangle
image.Rectangle
           image.Ellipse
image.Ellipse
- Direct Known Subclasses: 
- Circle
- public class Ellipse 
- extends Rectangle
 Represents an Image of an Ellipse.
 
 
    new Ellipse(40, 20, "outline", "black")
  
 
  
 
    new Ellipse(20, 40, "solid", "blue")
  
 
| Constructor Summary | 
| Ellipse(double width,
        double height,
        java.lang.String mode,
        java.lang.String color)Create a Ellipse Image with (double) width and height, mode and color
 | 
| Ellipse(int width,
        int height,
        java.lang.String mode,
        java.lang.String color)Create a Ellipse Image with (int) width and height, mode and color
 | 
 
| Method Summary | 
|  void | paint(java.awt.Graphics g,
      int x,
      int y)Paint this Scene into the given graphics
 | 
 
 
| Methods inherited from class image.Image | 
| flipHorizontal, flipVertical, overlay, overlay, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, rasterize, rotate, rotate, toFile, toScene, toWhiteFile, toWhiteScene | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Ellipse
public Ellipse(double width,
               double height,
               java.lang.String mode,
               java.lang.String color)
- Create a Ellipse Image with (double) width and height, mode and color
 
Ellipse
public Ellipse(int width,
               int height,
               java.lang.String mode,
               java.lang.String color)
- Create a Ellipse Image with (int) width and height, mode and color
 
paint
public void paint(java.awt.Graphics g,
                  int x,
                  int y)
- Paint this Scene into the given graphics
 
- 
- Overrides:
- paintin class- Rectangle
 
-