/[classpath]/classpath/java/awt/Transparency.java
ViewVC logotype

Diff of /classpath/java/awt/Transparency.java

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

revision 1.2 by mark, Tue Jan 22 22:26:58 2002 UTC revision 1.3 by ericb, Wed Mar 20 04:56:08 2002 UTC
# Line 1  Line 1 
1  /* Copyright (C) 2000, 2002  Free Software Foundation  /* Transparency.java -- common transparency modes in graphics
2       Copyright (C) 2000, 2002 Free Software Foundation
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 37  exception statement from your version. * Line 38  exception statement from your version. *
38  package java.awt;  package java.awt;
39    
40  /**  /**
41     * A common transparency mode for layering graphics.
42     *
43   * @author Warren Levy <warrenl@cygnus.com>   * @author Warren Levy <warrenl@cygnus.com>
44   * @date March 15, 2000.   * @since 1.1
45     * @status updated to 1.4
46   */   */
   
 /**  
  * Written using on-line Java Platform 1.2 API Specification, as well  
  * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).  
  * Status:  Believed complete and correct.  
  */  
   
47  public interface Transparency  public interface Transparency
48  {  {
49    public static final int OPAQUE = 1;    /** Image data which is completely opaque, for an alpha value of 1.0. */
50    public static final int BITMASK = 2;    int OPAQUE = 1;
   public static final int TRANSLUCENT = 3;  
51    
52    public int getTransparency();    /**
53  }     * Image data which is either completely opaque or transparent, for an
54       * exact integer alpha value.
55       */
56      int BITMASK = 2;
57    
58      /** Image data which is translucent, for a non-integer alpha value. */
59      int TRANSLUCENT = 3;
60    
61      /**
62       * Return the transparency type.
63       *
64       * @return One of {@see #OPAQUE}, {@see #BITMASK}, or {@see #TRANSLUCENT}.
65       */
66      int getTransparency();
67    } // interface Transparency

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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