home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / sun / awt / image / PNGImageDecoder$Chromaticities.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  955 b   |  28 lines

  1. package sun.awt.image;
  2.  
  3. public class PNGImageDecoder$Chromaticities {
  4.    public float whiteX;
  5.    public float whiteY;
  6.    public float redX;
  7.    public float redY;
  8.    public float greenX;
  9.    public float greenY;
  10.    public float blueX;
  11.    public float blueY;
  12.  
  13.    PNGImageDecoder$Chromaticities(int var1, int var2, int var3, int var4, int var5, int var6, int var7, int var8) {
  14.       this.whiteX = (float)var1 / 100000.0F;
  15.       this.whiteY = (float)var2 / 100000.0F;
  16.       this.redX = (float)var3 / 100000.0F;
  17.       this.redY = (float)var4 / 100000.0F;
  18.       this.greenX = (float)var5 / 100000.0F;
  19.       this.greenY = (float)var6 / 100000.0F;
  20.       this.blueX = (float)var7 / 100000.0F;
  21.       this.blueY = (float)var8 / 100000.0F;
  22.    }
  23.  
  24.    public String toString() {
  25.       return "Chromaticities(white=" + this.whiteX + "," + this.whiteY + ";red=" + this.redX + "," + this.redY + ";green=" + this.greenX + "," + this.greenY + ";blue=" + this.blueX + "," + this.blueY + ")";
  26.    }
  27. }
  28.