net.rfb
Class PixelBuffer

java.lang.Object
  extended by net.rfb.PixelBuffer
Direct Known Subclasses:
ManagedPixelBuffer, PixelBufferImage

public class PixelBuffer
extends java.lang.Object


Field Summary
 byte[] data
           
 
Constructor Summary
PixelBuffer()
           
 
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
 

Field Detail

data

public byte[] data
Constructor Detail

PixelBuffer

public PixelBuffer()
Method Detail

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)