Uses of Class java.awt.image.ColorModel

Uses in package java.awt

Methods with parameter type java.awt.image.ColorModel

PaintContext
Color.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Returns a paint context, used for filling areas of a raster scan with this color.
PaintContext
Returns the PaintContext used to generate the color pattern.
PaintContext
Paint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Create the context necessary for performing the color pattern generation.
PaintContext
Returns a paint context, used for filling areas of a raster scan with the current value of this system color.
PaintContext
Creates the context used to paint the texture.
CompositeContext
AlphaComposite.createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
Creates a CompositeContext that can be used to perform compositing operations according to this AlphaComposite settings.
CompositeContext
Composite.createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints)
Create a context state for performing the compositing operation.

Methods with return type java.awt.image.ColorModel

ColorModel
Returns the color model of the device this componet is displayed on.
ColorModel
Gets the color model of the corresponding device.
ColorModel
Return the color model of this context.
ColorModel
Returns the color model of the screen.
ColorModel
Gets a color model for the corresponding device which supports the desired transparency level.

Uses in package java.awt.peer

Methods with return type java.awt.image.ColorModel

ColorModel
Returns the color model of the component.

Uses in package javax.imageio

Constructors with parameter type java.awt.image.ColorModel

Construct an image type specifier with the given models.

Fields of type java.awt.image.ColorModel

ColorModel
The image's color model.

Methods with return type java.awt.image.ColorModel

ColorModel
Get the color model specified by this image type specifier.

Uses in package java.awt.image

Classes derived from java.awt.image.ColorModel

class
class
class
Color model similar to pseudo visual in X11.
class

Constructors with parameter type java.awt.image.ColorModel

BufferedImage.BufferedImage(ColorModel colormodel, WritableRaster writableraster, boolean premultiplied, Hashtable properties)
MemoryImageSource.MemoryImageSource(int w, int h, ColorModel cm, byte[] pix, int off, int scan)
Construct an image producer that reads image data from a byte array.
MemoryImageSource.MemoryImageSource(int w, int h, ColorModel cm, byte[] pix, int off, int scan, Hashtable props)
Constructs an ImageProducer from memory.
MemoryImageSource.MemoryImageSource(int w, int h, ColorModel cm, int[] pix, int off, int scan)
Construct an image producer that reads image data from an integer array.
MemoryImageSource.MemoryImageSource(int w, int h, ColorModel cm, int[] pix, int off, int scan, Hashtable props)
Constructs an ImageProducer from memory

Fields of type java.awt.image.ColorModel

ColorModel
ColorModel

Methods with parameter type java.awt.image.ColorModel

BufferedImage
Creates a new BufferedImage with the size equal to that of the transformed image and the correct number of bands.
BufferedImage
Returns a new BufferedImage that can be used by this BufferedImageOp as the destination image when filtering the specified source image.
BufferedImage
Creates an empty BufferedImage with the size equal to the source and the correct number of bands for the conversion defined in this Op.
BufferedImage
Creates an empty BufferedImage with the size equal to the source and the correct number of bands.
BufferedImage
BufferedImage
void
MemoryImageSource.newPixels(byte[] newpix, ColorModel newmodel, int offset, int scansize)
void
MemoryImageSource.newPixels(int[] newpix, ColorModel newmodel, int offset, int scansize)
void
This ColorModel should indicate the model used by the majority of calls to setPixels.
void
Override this method to process calls to this method from the ImageProducer.
void
Our ImageProducer will call setColorModel to indicate the model used by the majority of calls to setPixels.
void
Sets the ColorModel used to filter with.
void
AreaAveragingScaleFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as a byte at index (n * scansize + m + offset).
void
BufferedImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int off, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as a byte at index (n * scansize + m + offset).
void
CropImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as a byte at index (n * scansize + m + offset).
void
ImageConsumer.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
Deliver a subset of an ImageProducer's pixels to this ImageConsumer.
void
ImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as a byte at index (n * scansize + m + offset).
void
PixelGrabber.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
Our ImageProducer calls setPixels to deliver a subset of its pixels.
void
ReplicateScaleFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as a byte at index (n * scansize + m + offset).
void
RGBImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize)
If the ColorModel is the same ColorModel which as already converted then it converts it the converted ColorModel.
void
AreaAveragingScaleFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
BufferedImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int off, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
CropImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
ImageConsumer.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
Deliver a subset of an ImageProducer's pixels to this ImageConsumer.
void
ImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
PixelGrabber.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
Our ImageProducer calls setPixels to deliver a subset of its pixels.
void
ReplicateScaleFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
RGBImageFilter.setPixels(int x, int y, int w, int h, ColorModel model, int[] pixels, int offset, int scansize)
This function delivers a rectangle of pixels where any pixel(m,n) is stored in the array as an int at index (n * scansize + m + offset).
void
Registers a new ColorModel to subsitute for the old ColorModel when setPixels encounters the a pixel with the old ColorModel.

Methods with return type java.awt.image.ColorModel

ColorModel
ColorModel.coerceData(WritableRaster raster, boolean isAlphaPremultiplied)
ColorModel
ComponentColorModel.coerceData(WritableRaster raster, boolean isAlphaPremultiplied)
ColorModel
DirectColorModel.coerceData(WritableRaster raster, boolean isAlphaPremultiplied)
ColorModel
ColorModel
ColorModel
ColorModel
Returns the default color model which in Sun's case is an instance of DirectColorModel.