public class ImmutableBitmap
extends com.teamdev.jxdesktop.win32.gdi.Bitmap
_builderFactory, CBM_INIT, DIB_PAL_COLORS, DIB_RGB_COLORS, FUNCTION_CREATEDIBITMAP, FUNCTION_GET_DIBITS, FUNCTION_SET_DIBITS
Constructor and Description |
---|
ImmutableBitmap(byte[] rgbBuffer,
boolean flippingRequired,
int width,
int height,
BitmapType bitmapType) |
Modifier and Type | Method and Description |
---|---|
void |
deleteObject() |
com.teamdev.jxdesktop.win32.gdi.BitmapInfo |
getBitmapInfo() |
com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader |
getBitmapInfoHeader() |
byte[] |
getBytes() |
com.jniwrapper.PrimitiveArray |
getDIBytes() |
com.teamdev.jxdesktop.win32.gdi.Bitmap |
getSubImage(java.awt.Rectangle rectangle) |
void |
loadFromFile(java.lang.String fileName) |
void |
setDIBytes(com.jniwrapper.PrimitiveArray bytes) |
java.awt.image.BufferedImage |
toImage() |
createDIBSection, createDIBSection, getBitCount, getDIBits, getDIBits, getHeight, getSize, getTransparentMask, getWidth, isTransparent, saveToFile, setDIBits, setSize, setTransparentMask
clone, closeHandle, equals, waitFor, waitFor
asFunction, asFunction, asTypedPointer, castTo, castTo, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write
public ImmutableBitmap(byte[] rgbBuffer, boolean flippingRequired, int width, int height, BitmapType bitmapType)
public com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader getBitmapInfoHeader()
getBitmapInfoHeader
in class com.teamdev.jxdesktop.win32.gdi.Bitmap
public com.teamdev.jxdesktop.win32.gdi.BitmapInfo getBitmapInfo()
getBitmapInfo
in class com.teamdev.jxdesktop.win32.gdi.Bitmap
public com.jniwrapper.PrimitiveArray getDIBytes()
getDIBytes
in class com.teamdev.jxdesktop.win32.gdi.Bitmap
public byte[] getBytes()
getBytes
in class com.teamdev.jxdesktop.win32.gdi.Bitmap
public void setDIBytes(com.jniwrapper.PrimitiveArray bytes)
setDIBytes
in class com.teamdev.jxdesktop.win32.gdi.Bitmap
public void loadFromFile(java.lang.String fileName)
loadFromFile
in class com.teamdev.jxdesktop.win32.gdi.Bitmap
public java.awt.image.BufferedImage toImage()
toImage
in class com.teamdev.jxdesktop.win32.gdi.Bitmap
public void deleteObject()
deleteObject
in class com.teamdev.jxdesktop.win32.gdi.Bitmap
public com.teamdev.jxdesktop.win32.gdi.Bitmap getSubImage(java.awt.Rectangle rectangle)