gnu.rfb
Class RRE
java.lang.Object
|
+--gnu.rfb.Rect
|
+--gnu.rfb.RRE
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- CoRRE
- public class RRE
- extends Rect
RRE - Rise-and-Run-length Encoding.
We have an RRE header structure
giving the number of subrectangles following. Finally the data follows in
the form ([bgpixel][subrect][subrect]...) where each [subrect] is
([pixel][rfbRectangle]).
Constructor Summary |
RRE(int[] pixels,
PixelFormat pixelFormat,
int offsetX,
int offsetY,
int scanline,
int x,
int y,
int w,
int h)
|
RRE(int x,
int y,
int w,
int h,
PixelFormat pixelFormat,
int bgpixel,
RRE.SubRect[] subrects)
|
pixelFormat
public PixelFormat pixelFormat
bgpixel
public int bgpixel
subrects
public RRE.SubRect[] subrects
RRE
public RRE(int[] pixels,
PixelFormat pixelFormat,
int offsetX,
int offsetY,
int scanline,
int x,
int y,
int w,
int h)
RRE
public RRE(int x,
int y,
int w,
int h,
PixelFormat pixelFormat,
int bgpixel,
RRE.SubRect[] subrects)
writeData
public void writeData(DataOutput output)
throws IOException
- Overrides:
writeData
in class Rect
IOException
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Rect
CloneNotSupportedException