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, setBitmapByte
protected BitmapBuilderDirectColorModel(int bitCount, java.awt.image.BufferedImage bufferedImage)
BitmapBuilderDirectColorModel
bitCount
- The number of bits necessary for represent one pixel in the bitmap.bufferedImage
- Buffer of image data.public int getColorTableSize()
getColorTableSize
in class BitmapBuilder
public void buildColorTable(com.jniwrapper.ArrayParameter quadArray)
BitmapBuilder
. It is useless in this class and it do nothing.buildColorTable
in class BitmapBuilder
quadArray
- Array for storing elements of the color table.public void setBitmapColors()
setBitmapColors
in class BitmapBuilder
public 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()
null
getTransparentMask
in class BitmapBuilder
null