Package com.sun.pdfview
Class PDFImage.DecodeComponentColorModel
java.lang.Object
java.awt.image.ColorModel
java.awt.image.ComponentColorModel
com.sun.pdfview.PDFImage.DecodeComponentColorModel
- All Implemented Interfaces:
Transparency
- Enclosing class:
PDFImage
A wrapper for ComponentColorSpace which normalizes based on the
decode array.
-
Field Summary
Fields inherited from class java.awt.image.ColorModel
pixel_bits, transferTypeFields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCompatibleSampleModel(int width, int height) float[]getNormalizedComponents(Object pixel, float[] normComponents, int normOffset) booleanisCompatibleRaster(Raster raster) Methods inherited from class java.awt.image.ComponentColorModel
coerceData, createCompatibleWritableRaster, equals, getAlpha, getAlpha, getAlphaRaster, getBlue, getBlue, getComponents, getComponents, getDataElement, getDataElement, getDataElements, getDataElements, getDataElements, getGreen, getGreen, getNormalizedComponents, getRed, getRed, getRGB, getRGB, getUnnormalizedComponents, hashCode, isCompatibleSampleModelMethods inherited from class java.awt.image.ColorModel
getColorSpace, getComponentSize, getComponentSize, getNumColorComponents, getNumComponents, getPixelSize, getRGBdefault, getTransferType, getTransparency, hasAlpha, isAlphaPremultiplied, toString
-
Constructor Details
-
DecodeComponentColorModel
-
-
Method Details
-
createCompatibleSampleModel
- Overrides:
createCompatibleSampleModelin classComponentColorModel
-
isCompatibleRaster
- Overrides:
isCompatibleRasterin classComponentColorModel
-
getNormalizedComponents
- Overrides:
getNormalizedComponentsin classComponentColorModel
-