com.jniwrapper.win32.gdi.bitmap
Class BitmapBuilder
java.lang.Object
com.jniwrapper.win32.gdi.bitmap.BitmapBuilder
- Direct Known Subclasses:
- BitmapBuilderDirectColorModel
public abstract class BitmapBuilder
- extends java.lang.Object
Constructor Summary |
protected |
BitmapBuilder(int bitCount,
java.awt.image.BufferedImage bufferedImage)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitmapBuilder
protected BitmapBuilder(int bitCount,
java.awt.image.BufferedImage bufferedImage)
getBitmapInfo
public final BitmapInfo getBitmapInfo()
setBitmapColors
public abstract void setBitmapColors()
getBitCount
protected int getBitCount()
- Returns count of bits per pixel.
- Returns:
- count of bits per pixel.
getScansizeBytes
protected final int getScansizeBytes()
- Returns count of bytes per row.
- Returns:
- count of bytes per row.
setBitmapByte
protected void setBitmapByte(int offset,
byte value)
getWidth
public int getWidth()
getHeight
public int getHeight()
getColorTableSize
protected abstract int getColorTableSize()
buildColorTable
protected abstract void buildColorTable(com.jniwrapper.ArrayParameter resultQuadArray)
getImageOffset
protected int getImageOffset(int x,
int y)
getOffsetInBitmapBytes
protected int getOffsetInBitmapBytes(int x,
int y)
- Offset in bitmap array
- Parameters:
x
- y
-
- Returns:
- offset in bitmap array
getTransparentMask
public abstract java.awt.Image getTransparentMask()
getBufferedImage
protected java.awt.image.BufferedImage getBufferedImage()
getColorModel
protected java.awt.image.ColorModel getColorModel()
getBitmapData
public com.jniwrapper.PrimitiveArray getBitmapData()