net.vncviewer.rfb
Class PixelBuffer
java.lang.Object
net.vncviewer.rfb.PixelBuffer
- Direct Known Subclasses:
- ManagedPixelBuffer, PixelBufferImage
public class PixelBuffer
- extends java.lang.Object
Field Summary |
byte[] |
data
|
Method Summary |
int |
area()
|
void |
copyRect(int x,
int y,
int w,
int h,
int srcX,
int srcY)
|
void |
fillRect(int x,
int y,
int w,
int h,
int pix)
|
PixelFormat |
getPF()
|
int |
getStride()
|
int |
height()
|
void |
imageRect(int x,
int y,
int w,
int h,
byte[] pix,
int offset)
|
void |
maskRect(int x,
int y,
int w,
int h,
byte[] pix,
byte[] mask)
|
void |
setPF(PixelFormat pf)
|
int |
width()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
public byte[] data
PixelBuffer
public PixelBuffer()
setPF
public void setPF(PixelFormat pf)
getPF
public PixelFormat getPF()
width
public final int width()
height
public final int height()
area
public final int area()
getStride
public int getStride()
fillRect
public void fillRect(int x,
int y,
int w,
int h,
int pix)
imageRect
public void imageRect(int x,
int y,
int w,
int h,
byte[] pix,
int offset)
copyRect
public void copyRect(int x,
int y,
int w,
int h,
int srcX,
int srcY)
maskRect
public void maskRect(int x,
int y,
int w,
int h,
byte[] pix,
byte[] mask)