isAlphaPremultiplied variable, assuming the data is currently correctly described by this ColorModel. It may multiply or divide the color raster data by alpha, or do nothing if the data is in the correct state. If the data needs to be coerced, this method will also return an instance of this ColorModel with the isAlphaPremultiplied flag set appropriately. This method will throw a UnsupportedOperationException if this transferType is not supported by this ColorModel. Since ColorModel can be subclassed, subclasses inherit the implementation of this method and if they don't override it then they throw an exception if they use an unsupported transferType.
@param raster the WritableRaster data
@param isAlphaPremultiplied true if the alpha ispremultiplied; false otherwise
@return a ColorModel object that represents thecoerced data.
@exception UnsupportedOperationException if this transferType is not supported by this color model
| |
| |