Package com.twelvemonkeys.image
Class GrayColorModel
- java.lang.Object
-
- java.awt.image.ColorModel
-
- java.awt.image.IndexColorModel
-
- com.twelvemonkeys.image.GrayColorModel
-
- All Implemented Interfaces:
java.awt.Transparency
public class GrayColorModel extends java.awt.image.IndexColorModel
This class represents a 256 color fixed grayscale IndexColorModel.- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/image/GrayColorModel.java#1 $
-
-
Field Summary
Fields Modifier and Type Field Description private static byte[]
sGrays
-
Constructor Summary
Constructors Constructor Description GrayColorModel()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static byte[]
createGrayScale()
-
Methods inherited from class java.awt.image.IndexColorModel
convertToIntDiscrete, createCompatibleSampleModel, createCompatibleWritableRaster, equals, finalize, getAlpha, getAlphas, getBlue, getBlues, getComponents, getComponents, getComponentSize, getDataElement, getDataElements, getDataElements, getGreen, getGreens, getMapSize, getRed, getReds, getRGB, getRGBs, getTransparency, getTransparentPixel, getValidPixels, hashCode, isCompatibleRaster, isCompatibleSampleModel, isValid, isValid, toString
-
Methods inherited from class java.awt.image.ColorModel
coerceData, getAlpha, getAlphaRaster, getBlue, getColorSpace, getComponentSize, getDataElement, getDataElements, getGreen, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRed, getRGB, getRGBdefault, getTransferType, getUnnormalizedComponents, hasAlpha, isAlphaPremultiplied
-
-