loci.formats
Class IndexedColorModel
java.lang.Object
java.awt.image.ColorModel
loci.formats.IndexedColorModel
- All Implemented Interfaces:
- Transparency
public class IndexedColorModel
- extends ColorModel
TODO - IndexedColorModel javadoc.
- Source code:
- Trac,
SVN
Methods inherited from class java.awt.image.ColorModel |
coerceData, createCompatibleSampleModel, equals, finalize, getAlpha, getAlphaRaster, getBlue, getColorSpace, getComponents, getComponents, getComponentSize, getComponentSize, getDataElement, getDataElement, getDataElements, getDataElements, getGreen, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRed, getRGB, getRGB, getRGBdefault, getTransferType, getTransparency, getUnnormalizedComponents, hasAlpha, hashCode, isAlphaPremultiplied, isCompatibleSampleModel, toString |
IndexedColorModel
public IndexedColorModel(int bits,
int size,
byte[][] table)
throws IOException
- Throws:
IOException
IndexedColorModel
public IndexedColorModel(int bits,
int size,
short[][] table)
throws IOException
- Throws:
IOException
IndexedColorModel
public IndexedColorModel(int bits,
int size,
int[][] table)
throws IOException
- Throws:
IOException
getDataElements
public Object getDataElements(int rgb,
Object pixel)
- Overrides:
getDataElements
in class ColorModel
isCompatibleRaster
public boolean isCompatibleRaster(Raster raster)
- Overrides:
isCompatibleRaster
in class ColorModel
createCompatibleWritableRaster
public WritableRaster createCompatibleWritableRaster(int w,
int h)
- Overrides:
createCompatibleWritableRaster
in class ColorModel
getAlpha
public int getAlpha(int pixel)
- Specified by:
getAlpha
in class ColorModel
getBlue
public int getBlue(int pixel)
- Specified by:
getBlue
in class ColorModel
getGreen
public int getGreen(int pixel)
- Specified by:
getGreen
in class ColorModel
getRed
public int getRed(int pixel)
- Specified by:
getRed
in class ColorModel