Class MonochromeColorModel
java.lang.Object
java.awt.image.ColorModel
java.awt.image.IndexColorModel
com.twelvemonkeys.image.MonochromeColorModel
- All Implemented Interfaces:
Transparency
Monochrome B/W color model.
-
Field Summary
FieldsFields inherited from class ColorModel
pixel_bits, transferTypeFields inherited from interface Transparency
BITMASK, OPAQUE, TRANSLUCENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataElements(int pRGB, Object pPixel) static IndexColorModelMethods inherited from class IndexColorModel
convertToIntDiscrete, createCompatibleSampleModel, createCompatibleWritableRaster, equals, getAlpha, getAlphas, getBlue, getBlues, getComponents, getComponents, getComponentSize, getDataElement, getDataElements, getGreen, getGreens, getMapSize, getRed, getReds, getRGB, getRGBs, getTransparency, getTransparentPixel, getValidPixels, hashCode, isCompatibleRaster, isCompatibleSampleModel, isValid, isValid, toStringMethods inherited from class ColorModel
coerceData, getAlpha, getAlphaRaster, getBlue, getColorSpace, getComponentSize, getDataElement, getDataElements, getGreen, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRed, getRGB, getRGBdefault, getTransferType, getUnnormalizedComponents, hasAlpha, isAlphaPremultiplied
-
Field Details
-
MONO_PALETTE
private static final int[] MONO_PALETTE -
sInstance
-
-
Constructor Details
-
MonochromeColorModel
private MonochromeColorModel()
-
-
Method Details
-
getInstance
-
getDataElements
- Overrides:
getDataElementsin classIndexColorModel
-