|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.gdi.bitmap.BitmapBuilder
com.jniwrapper.win32.gdi.bitmap.BitmapBuilderDirectColorModel
This provides functionality for building direct color bitmaps
| Constructor Summary | |
protected |
BitmapBuilderDirectColorModel(int bitCount,
java.awt.image.BufferedImage bufferedImage)
Creates instance of the BitmapBuilderDirectColorModel |
| Method Summary | |
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 |
| Methods inherited from class com.jniwrapper.win32.gdi.bitmap.BitmapBuilder |
getBitCount, getBitmapData, getBitmapInfo, getBufferedImage, getColorModel, getHeight, getImageOffset, getOffsetInBitmapBytes, getScansizeBytes, getWidth, setBitmapByte |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
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.| Method Detail |
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 BitmapBuilder
public void setArbgColor(int argbColor,
int offset)
argbColor - Coloroffset - Offset of the pixel in the bitmap bytes array
public 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 BitmapBuildernull
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||