home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / java / awt / geom / Ellipse2D$Double.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  830 b   |  49 lines

  1. package java.awt.geom;
  2.  
  3. public class Ellipse2D$Double extends Ellipse2D {
  4.    // $FF: renamed from: x double
  5.    public double field_0;
  6.    // $FF: renamed from: y double
  7.    public double field_1;
  8.    public double width;
  9.    public double height;
  10.  
  11.    public Ellipse2D$Double() {
  12.    }
  13.  
  14.    public Ellipse2D$Double(double var1, double var3, double var5, double var7) {
  15.       this.setFrame(var1, var3, var5, var7);
  16.    }
  17.  
  18.    public double getX() {
  19.       return this.field_0;
  20.    }
  21.  
  22.    public double getY() {
  23.       return this.field_1;
  24.    }
  25.  
  26.    public double getWidth() {
  27.       return this.width;
  28.    }
  29.  
  30.    public double getHeight() {
  31.       return this.height;
  32.    }
  33.  
  34.    public boolean isEmpty() {
  35.       return this.width <= (double)0.0F || this.height <= (double)0.0F;
  36.    }
  37.  
  38.    public void setFrame(double var1, double var3, double var5, double var7) {
  39.       this.field_0 = var1;
  40.       this.field_1 = var3;
  41.       this.width = var5;
  42.       this.height = var7;
  43.    }
  44.  
  45.    public Rectangle2D getBounds2D() {
  46.       return new Rectangle2D.Double(this.field_0, this.field_1, this.width, this.height);
  47.    }
  48. }
  49.