Added Methods |
int getDataElement(float[], int)
|
Returns a pixel value represented as an int in this ColorModel given an array of normalized color/alpha components. |
int getDataElement(int[], int)
|
Returns a pixel value represented as an int in this ColorModel given an array of unnormalized color/alpha components. |
Object getDataElements(float[], int, Object)
|
Returns a data element array representation of a pixel in this ColorModel given an array of normalized color/alpha components. |
Object getDataElements(int, Object)
|
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)
|
Returns a data element array representation of a pixel in this ColorModel given an array of unnormalized color/alpha components. |
float[] getNormalizedComponents(int[], int, float[], int)
|
Returns an array of all of the color/alpha components in normalized form given an unnormalized component array. |
float[] getNormalizedComponents(Object, float[], int)
|
Returns an array of all of the color/alpha components in normalized form given a pixel in this ColorModel . |
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 . |
int[] getUnnormalizedComponents(float[], int, int[], int)
|
Documentation changed from old to new. Method was inherited from ColorModel, but is now defined locally.
|
Returns an array of all of the color/alpha components in unnormalized form given a normalized component array. |
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 . |
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. |