Generated by
JDiff

Class java.awt.image.ColorModel

Documentation changed from old to new.

Changed Constructors
ColorModel(int) Documentation changed from old to new.
Constructs a ColorModel that translates pixels of the specified number of bits to color/alpha components.
ColorModel(int, int[], ColorSpace, boolean, boolean, int, int) Documentation changed from old to new.
Constructs a ColorModel that translates pixel values to color/alpha components.
 

Added Methods
int getTransferType() Returns the transfer type of 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.
SampleModel createCompatibleSampleModel(int, int) Documentation changed from old to new.
Creates a SampleModel with the specified width and height that has a data layout compatible with 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.
WritableRaster getAlphaRaster(WritableRaster) Documentation changed from old to new.
Returns a Raster representing the alpha channel of an image extracted from the input Raster provided that pixel values of this ColorModel represent color and alpha information as separate spatial bands (e.g.
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.
float[] getNormalizedComponents(int[], int, float[], int) Documentation changed from old to new.
Returns an array of all of the color/alpha components in normalized form given an unnormalized component array.
int[] getUnnormalizedComponents(float[], int, int[], int) Documentation changed from old to new.
Returns an array of all of the color/alpha components in unnormalized form given a normalized component array.
int hashCode() Documentation changed from old to new.
Method was inherited from Object, but is now defined locally. Changed from native to non-native.
Returns the hash code for this ColorModel.
boolean isCompatibleRaster(Raster) Documentation changed from old to new.
Returns true if raster is compatible with this ColorModel and false if it is not.
boolean isCompatibleSampleModel(SampleModel) Documentation changed from old to new.
Checks if the SampleModel is compatible with this ColorModel.
int getAlpha(Object) Documentation changed from old to new.
Returns the alpha component for the specified pixel scaled from 0 to 255.
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 getComponentSize(int) Documentation changed from old to new.
Returns the number of bits for the specified color/alpha component.
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(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 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.