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:
Transparency
ComponentColorModel subclass that correctly handles full 32 bit
TYPE_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:
-
Field Summary
Fields inherited from class java.awt.image.ColorModel
pixel_bits, transferType
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
Constructor Summary
ConstructorsConstructorDescriptionUInt32ColorModel
(ColorSpace cs, boolean hasAlpha, boolean isAlphaPremultiplied) -
Method Summary
Modifier and TypeMethodDescriptionfloat[]
getNormalizedComponents
(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
Methods inherited from class java.awt.image.ColorModel
finalize, getColorSpace, getComponentSize, getComponentSize, getNumColorComponents, getNumComponents, getPixelSize, getRGBdefault, getTransferType, getTransparency, hasAlpha, isAlphaPremultiplied, toString
-
Constructor Details
-
UInt32ColorModel
-
-
Method Details
-
getNormalizedComponents
- Overrides:
getNormalizedComponents
in classComponentColorModel
-