Changed Constructors |
DirectColorModel(int, int, int, int)
|
Documentation changed from old to new. |
Constructs a DirectColorModel from the specified masks that indicate which bits in an int pixel representation contain the red green and blue color samples. |
DirectColorModel(int, int, int, int, int)
|
Documentation changed from old to new. |
Constructs a DirectColorModel from the specified masks that indicate which bits in an int pixel representation contain the red green and blue color samples and the alpha sample if present. |
DirectColorModel(ColorSpace, int, int, int, int, int, boolean, int)
|
Documentation changed from old to new. |
Constructs a DirectColorModel from the specified parameters. |
Changed Methods |
ColorModel coerceData(WritableRaster, boolean)
|
Documentation changed from old to new. |
Forces the raster data to match the state specified in the isAlphaPremultiplied variable assuming the data is currently correctly described by this ColorModel . |
WritableRaster createCompatibleWritableRaster(int, int)
|
Documentation changed from old to new. |
Creates a WritableRaster with the specified width and height that has a data layout (SampleModel ) compatible with this ColorModel . |
int getAlphaMask()
|
Documentation changed from old to new. |
Returns the mask indicating which bits in an int pixel representation contain the alpha component. |
int getBlueMask()
|
Documentation changed from old to new. |
Returns the mask indicating which bits in an int pixel representation contain the blue color component. |
int getDataElement(int[], int)
|
Documentation changed from old to new. |
Returns a pixel value represented as an int in this ColorModel given an array of unnormalized color/alpha components. |
int getGreenMask()
|
Documentation changed from old to new. |
Returns the mask indicating which bits in an int pixel representation contain the green color component. |
int getRedMask()
|
Documentation changed from old to new. |
Returns the mask indicating which bits in an int pixel representation contain the red color component. |
boolean isCompatibleRaster(Raster )
|
Documentation changed from old to new. |
Returns true if raster is compatible with this ColorModel and false if it is not. |
int getAlpha(int )
|
Documentation changed from old to new. |
Returns the alpha component for the specified pixel scaled from 0 to 255. |
int getAlpha(Object )
|
Documentation changed from old to new. |
Returns the alpha component for the specified pixel scaled from 0 to 255. |
int getBlue(int )
|
Documentation changed from old to new. |
Returns the blue color component for the specified pixel scaled from 0 to 255 in the default RGB ColorSpace sRGB. |
int getBlue(Object )
|
Documentation changed from old to new. |
Returns the blue color component for the specified pixel scaled from 0 to 255 in the default RGB ColorSpace sRGB. |
int[] getComponents(int, int[], int)
|
Documentation changed from old to new. |
Returns an array of unnormalized color/alpha components given a pixel in this ColorModel . |
int[] getComponents(Object, int[], int)
|
Documentation changed from old to new. |
Returns an array of unnormalized color/alpha components given a pixel in this ColorModel . |
Object getDataElements(int, Object)
|
Documentation changed from old to new. |
Returns a data element array representation of a pixel in this ColorModel given an integer pixel representation in the default RGB color model. |
Object getDataElements(int[], int, Object)
|
Documentation changed from old to new. |
Returns a data element array representation of a pixel in this ColorModel given an array of unnormalized color/alpha components. |
int getGreen(int )
|
Documentation changed from old to new. |
Returns the green color component for the specified pixel scaled from 0 to 255 in the default RGB ColorSpace sRGB. |
int getGreen(Object )
|
Documentation changed from old to new. |
Returns the green color component for the specified pixel scaled from 0 to 255 in the default RGB ColorSpace sRGB. |
int getRGB(int )
|
Documentation changed from old to new. |
Returns the color/alpha components of the pixel in the default RGB color model format. |
int getRGB(Object )
|
Documentation changed from old to new. |
Returns the color/alpha components for the specified pixel in the default RGB color model format. |
int getRed(int )
|
Documentation changed from old to new. |
Returns the red color component for the specified pixel scaled from 0 to 255 in the default RGB ColorSpace sRGB. |
int getRed(Object )
|
Documentation changed from old to new. |
Returns the red color component for the specified pixel scaled from 0 to 255 in the default RGB ColorSpace sRGB. |