
public class BitFramebuffer extends LinuxFramebuffer
| Constructor and Description |
|---|
BitFramebuffer(NativeFramebuffer fb,
DisplayInterface disp)
Create and initialize new Linux 1bpp framebuffer.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
createCompatibleBuffer(int width,
int height)
Create pixel-compatible buffer with a specified size.
|
java.awt.image.BufferedImage |
createCompatibleBuffer(int width,
int height,
int stride,
byte[] backed)
Create pixel-compatible buffer with a specified size and stride.
|
clear, close, createCompatibleBuffer, createCompatibleBuffer, flushScreen, getBufferSize, getDevice, getDisplay, getFixedInfo, getHeight, getMemory, getStride, getVariableInfo, getWidth, initializeMemory, restoreData, setDeviceClose, setFlushEnabled, storeDatapublic BitFramebuffer(NativeFramebuffer fb, DisplayInterface disp) throws LastErrorException, java.lang.IllegalArgumentException
fb - The framebuffer device (e.g. /dev/fb0)disp - Display manager (e.g. /dev/tty)LastErrorExceptionjava.lang.IllegalArgumentExceptionpublic java.awt.image.BufferedImage createCompatibleBuffer(int width,
int height)
JavaFramebuffercreateCompatibleBuffer in interface JavaFramebuffercreateCompatibleBuffer in class LinuxFramebufferwidth - Requested image width.height - Requested image height.public java.awt.image.BufferedImage createCompatibleBuffer(int width,
int height,
int stride,
byte[] backed)
JavaFramebuffercreateCompatibleBuffer in interface JavaFramebuffercreateCompatibleBuffer in class LinuxFramebufferwidth - Requested image width.height - Requested image height.stride - Requested scanline stride.