/[classpath]/classpath/java/awt/image/BufferedImage.java
ViewVC logotype

Diff of /classpath/java/awt/image/BufferedImage.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8.2.6 by gnu_andrew, Wed Nov 2 00:43:31 2005 UTC revision 1.8.2.7 by gnu_andrew, Sun Nov 27 21:00:37 2005 UTC
# Line 1  Line 1 
1  /* BufferedImage.java --  /* BufferedImage.java --
2     Copyright (C) 2000, 2002, 2003, 2004  Free Software Foundation     Copyright (C) 2000, 2002, 2003, 2004, 2005  Free Software Foundation
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 62  import java.util.Vector; Line 62  import java.util.Vector;
62   * @author Rolf W. Rasmussen (rolfwr@ii.uib.no)   * @author Rolf W. Rasmussen (rolfwr@ii.uib.no)
63   */   */
64  public class BufferedImage extends Image  public class BufferedImage extends Image
65    implements WritableRenderedImage    implements WritableRenderedImage, Transparency
66  {  {
67    public static final int TYPE_CUSTOM         =  0,    public static final int TYPE_CUSTOM         =  0,
68                            TYPE_INT_RGB        =  1,                            TYPE_INT_RGB        =  1,
# Line 688  public class BufferedImage extends Image Line 688  public class BufferedImage extends Image
688                    
689      observers.remove (to);      observers.remove (to);
690    }    }
691    
692      /**
693       * Return the transparency type.
694       *
695       * @return One of {@link #OPAQUE}, {@link #BITMASK}, or {@link #TRANSLUCENT}.
696       * @see Transparency#getTransparency()
697       * @since 1.5
698       */
699      public int getTransparency()
700      {
701        return colorModel.getTransparency();
702      }
703  }  }

Legend:
Removed from v.1.8.2.6  
changed lines
  Added in v.1.8.2.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26