DirectColorModelNameDirectColorModel
DescriptionThe DirectColorModel class provides a ColorModel that specifies a translation between pixels and alpha, red, green, and blue component values, where the color values are embedded directly within the pixel. Class Definition
public class java.awt.image.DirectColorModel extends java.awt.image.ColorModel { // Constructors public DirectColorModel (int bits, int redMask, int greenMask, int blueMask); public DirectColorModel (int bits, int redMask, int greenMask, int blueMask, int alphaMask); // Instance Methods public final int getAlpha (int pixel); public final int getAlphaMask(); public final int getBlue (int pixel); public final int getBlueMask(); public final int getGreen (int pixel); public final int getGreenMask() public final int getRed (int pixel); public final int getRedMask(); public final int getRGB (int pixel); } ConstructorsDirectColorModelpublic DirectColorModel (int bits, int redMask, int greenMask, int blueMask)
public DirectColorModel (int bits, int redMask, int greenMask, int blueMask, int alphaMask)
Instance MethodsgetAlphapublic final int getAlpha (int pixel)
getAlphaMaskpublic final int getAlphaMask()
getBluepublic final int getBlue (int pixel)
getBlueMaskpublic final int getBlueMask()
getGreenpublic final int getGreen (int pixel)
getGreenMaskpublic final int getGreenMask()
getRedpublic final int getRed (int pixel)
getRedMaskpublic final int getRedMask()
getRGBpublic final int getRGB (int pixel)
See AlsoColorModel |
|