public class Index16ColorModel
extends java.awt.image.ColorModel
Modifier and Type | Field and Description |
---|---|
private short[] |
alphaShort
Lookup tables.
|
private short[] |
blueShort
Lookup tables.
|
private short[] |
greenShort
Lookup tables.
|
private short[] |
redShort
Lookup tables.
|
Constructor and Description |
---|
Index16ColorModel(int bits,
int size,
short[][] table,
boolean littleEndian) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.WritableRaster |
createCompatibleWritableRaster(int w,
int h) |
int |
getAlpha(int pixel) |
short[] |
getAlphas()
Return the array of alpha color components.
|
int |
getBlue(int pixel) |
short[] |
getBlues()
Return the array of blue color components.
|
java.lang.Object |
getDataElements(int rgb,
java.lang.Object pixel) |
int |
getGreen(int pixel) |
short[] |
getGreens()
Return the array of green color components.
|
int |
getRed(int pixel) |
short[] |
getReds()
Return the array of red color components.
|
boolean |
isCompatibleRaster(java.awt.image.Raster raster) |
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
private short[] redShort
private short[] greenShort
private short[] blueShort
private short[] alphaShort
public Index16ColorModel(int bits, int size, short[][] table, boolean littleEndian) throws java.io.IOException
java.io.IOException
public short[] getReds()
public short[] getGreens()
public short[] getBlues()
public short[] getAlphas()
public java.lang.Object getDataElements(int rgb, java.lang.Object pixel)
getDataElements
in class java.awt.image.ColorModel
public boolean isCompatibleRaster(java.awt.image.Raster raster)
isCompatibleRaster
in class java.awt.image.ColorModel
public java.awt.image.WritableRaster createCompatibleWritableRaster(int w, int h)
createCompatibleWritableRaster
in class java.awt.image.ColorModel
public int getAlpha(int pixel)
getAlpha
in class java.awt.image.ColorModel
public int getBlue(int pixel)
getBlue
in class java.awt.image.ColorModel
public int getGreen(int pixel)
getGreen
in class java.awt.image.ColorModel
public int getRed(int pixel)
getRed
in class java.awt.image.ColorModel
Copyright © 2024 Open Microscopy Environment