public class SignedColorModel
extends java.awt.image.ColorModel
Constructor and Description |
---|
SignedColorModel(int pixelBits,
int dataType,
int nChannels) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.WritableRaster |
createCompatibleWritableRaster(int w,
int h) |
int |
getAlpha(int pixel) |
int |
getAlpha(java.lang.Object data) |
int |
getBlue(int pixel) |
int |
getBlue(java.lang.Object data) |
java.lang.Object |
getDataElements(int rgb,
java.lang.Object pixel) |
int |
getGreen(int pixel) |
int |
getGreen(java.lang.Object data) |
int |
getRed(int pixel) |
int |
getRed(java.lang.Object data) |
boolean |
isCompatibleRaster(java.awt.image.Raster raster) |
coerceData, createCompatibleSampleModel, equals, finalize, getAlphaRaster, getColorSpace, getComponents, getComponents, getComponentSize, getComponentSize, getDataElement, getDataElement, getDataElements, getDataElements, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRGB, getRGB, getRGBdefault, getTransferType, getTransparency, getUnnormalizedComponents, hasAlpha, hashCode, isAlphaPremultiplied, isCompatibleSampleModel, toString
public SignedColorModel(int pixelBits, int dataType, int nChannels) throws java.io.IOException
java.io.IOException
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
public int getAlpha(java.lang.Object data)
getAlpha
in class java.awt.image.ColorModel
public int getRed(java.lang.Object data)
getRed
in class java.awt.image.ColorModel
public int getGreen(java.lang.Object data)
getGreen
in class java.awt.image.ColorModel
public int getBlue(java.lang.Object data)
getBlue
in class java.awt.image.ColorModel
Copyright © 2014 Open Microscopy Environment