Package com.twelvemonkeys.imageio.color
Class UInt32ColorModel
- java.lang.Object
-
- java.awt.image.ColorModel
-
- java.awt.image.ComponentColorModel
-
- com.twelvemonkeys.imageio.color.UInt32ColorModel
-
- All Implemented Interfaces:
java.awt.Transparency
public final class UInt32ColorModel extends java.awt.image.ComponentColorModel
ComponentColorModel subclass that correctly handles full 32 bitTYPE_INT
unsigned integral samples.- Version:
- $Id: UInt32ColorModel.java,v 1.0 24.01.11 17.51 haraldk Exp$
- Author:
- Harald Kuhr, last modified by $Author: haraldk$
- See Also:
- ComponentColorModel.getNormalizedComponents() does not handle 32-bit TYPE_INT
-
-
Constructor Summary
Constructors Constructor Description UInt32ColorModel(java.awt.color.ColorSpace cs, boolean hasAlpha, boolean isAlphaPremultiplied)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float[]
getNormalizedComponents(java.lang.Object pixel, float[] normComponents, int normOffset)
-
Methods inherited from class java.awt.image.ComponentColorModel
coerceData, createCompatibleSampleModel, createCompatibleWritableRaster, equals, getAlpha, getAlpha, getAlphaRaster, getBlue, getBlue, getComponents, getComponents, getDataElement, getDataElement, getDataElements, getDataElements, getDataElements, getGreen, getGreen, getNormalizedComponents, getRed, getRed, getRGB, getRGB, getUnnormalizedComponents, hashCode, isCompatibleRaster, isCompatibleSampleModel
-
-