Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.image.DirectColorModel

Availability: JDK 1.0

public class DirectColorModel extends ColorModel {
   // Public Constructors
      public DirectColorModel(int bits, int rmask, int gmask, int bmask);
      public DirectColorModel(int bits, int rmask, int gmask, int bmask, int amask);
   // Public Instance Methods
      public final int getAlpha(int pixel);  // Defines ColorModel.getAlpha()
      public final int getAlphaMask();
      public final int getBlue(int pixel);  // Defines ColorModel.getBlue()
      public final int getBlueMask();
      public final int getGreen(int pixel);  // Defines ColorModel.getGreen()
      public final int getGreenMask();
      public final int getRGB(int pixel);  // Overrides ColorModel.getRGB()
      public final int getRed(int pixel);  // Defines ColorModel.getRed()
      public final int getRedMask();
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.