KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > image > DirectColorModel

java.awt.image
Class DirectColorModel

java.lang.Object
  extended by java.awt.image.ColorModel
      extended by java.awt.image.PackedColorModel
          extended by java.awt.image.DirectColorModel
All Implemented Interfaces:
Transparency
See Also:
Top Examples, Source Code, SampleModel, ColorSpace, SinglePixelPackedSampleModel, BufferedImage, ColorModel.getRGBdefault()

public final ColorModel coerceData(WritableRaster raster,
                                   boolean isAlphaPremultiplied)
See Also:
UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final WritableRaster createCompatibleWritableRaster(int w,
                                                           int h)
See Also:
SampleModel, IllegalArgumentException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DirectColorModel(int bits,
                        int rmask,
                        int gmask,
                        int bmask)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DirectColorModel(int bits,
                        int rmask,
                        int gmask,
                        int bmask,
                        int amask)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DirectColorModel(ColorSpace space,
                        int bits,
                        int rmask,
                        int gmask,
                        int bmask,
                        int amask,
                        boolean isAlphaPremultiplied,
                        int transferType)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getAlpha(int pixel)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getAlpha(Object inData)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getAlphaMask()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getBlue(int pixel)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getBlue(Object inData)
See Also:
UnsupportedOperationException, ClassCastException, ArrayIndexOutOfBoundsException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getBlueMask()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int[] getComponents(int pixel,
                                 int[] components,
                                 int offset)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int[] getComponents(Object pixel,
                                 int[] components,
                                 int offset)
See Also:
UnsupportedOperationException, ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getDataElement(int[] components,
                          int offset)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getDataElements(int rgb,
                              Object pixel)
See Also:
SampleModel.setDataElements(int, int, java.lang.Object, java.awt.image.DataBuffer), WritableRaster.setDataElements(int, int, java.lang.Object), UnsupportedOperationException, ArrayIndexOutOfBoundsException, ClassCastException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getDataElements(int[] components,
                              int offset,
                              Object obj)
See Also:
SampleModel.setDataElements(int, int, java.lang.Object, java.awt.image.DataBuffer), WritableRaster.setDataElements(int, int, java.lang.Object), UnsupportedOperationException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getGreen(int pixel)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getGreen(Object inData)
See Also:
UnsupportedOperationException, ClassCastException, ArrayIndexOutOfBoundsException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getGreenMask()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getRed(int pixel)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRed(Object inData)
See Also:
UnsupportedOperationException, ClassCastException, ArrayIndexOutOfBoundsException, ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getRedMask()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int getRGB(int pixel)
See Also:
ColorModel.getRGBdefault()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getRGB(Object inData)
See Also:
ColorModel.getRGBdefault(), UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isCompatibleRaster(Raster raster)
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
ColorModel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags