public abstract class BitmapBuilderDirectColorModel extends BitmapBuilder
| Modifier | Constructor and Description |
|---|---|
protected |
BitmapBuilderDirectColorModel(int bitCount,
java.awt.image.BufferedImage bufferedImage)
Creates instance of the
BitmapBuilderDirectColorModel |
| Modifier and Type | Method and Description |
|---|---|
void |
buildColorTable(com.jniwrapper.ArrayParameter quadArray)
This method inherited from the base class
BitmapBuilder. |
int |
getColorTableSize()
Returns Size of the color table
|
java.awt.Image |
getTransparentMask()
This method always returns
null |
void |
setArbgColor(int argbColor,
int offset)
Sets the color of the specified pixel
|
void |
setBitmapColors()
Sets the colors of the all pixels in the bitmap
|
abstract void |
setPixel(ARGB argb,
int offset)
Sets the color of the specified pixel
|
getBitCount, getBitmapData, getBitmapInfo, getBufferedImage, getColorModel, getHeight, getImageOffset, getOffsetInBitmapBytes, getScansizeBytes, getWidth, setBitmapByteprotected BitmapBuilderDirectColorModel(int bitCount,
java.awt.image.BufferedImage bufferedImage)
BitmapBuilderDirectColorModelbitCount - The number of bits necessary for represent one pixel in the bitmap.bufferedImage - Buffer of image data.public int getColorTableSize()
getColorTableSize in class BitmapBuilderpublic void buildColorTable(com.jniwrapper.ArrayParameter quadArray)
BitmapBuilder. It is useless in this class and it do nothing.buildColorTable in class BitmapBuilderquadArray - Array for storing elements of the color table.public void setBitmapColors()
setBitmapColors in class BitmapBuilderpublic void setArbgColor(int argbColor,
int offset)
argbColor - Coloroffset - Offset of the pixel in the bitmap bytes arraypublic abstract void setPixel(ARGB argb, int offset)
argb - Coloroffset - Offeset of the pixel in the bitmap bytes arraypublic java.awt.Image getTransparentMask()
nullgetTransparentMask in class BitmapBuildernull