gnu.rfb
Class CoRRE
java.lang.Object
|
+--gnu.rfb.Rect
|
+--gnu.rfb.RRE
|
+--gnu.rfb.CoRRE
- All Implemented Interfaces:
- Cloneable
- public class CoRRE
- extends RRE
CoRRE - Compact RRE 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][rfbCoRRERectangle]. This means that
the whole rectangle must be at most 255x255 pixels.
Constructor Summary |
CoRRE(int[] pixels,
PixelFormat pixelFormat,
int offsetX,
int offsetY,
int scanline,
int x,
int y,
int w,
int h)
|
CoRRE(int x,
int y,
int w,
int h,
PixelFormat pixelFormat,
int bgpixel,
RRE.SubRect[] subrects)
|
CoRRE
public CoRRE(int[] pixels,
PixelFormat pixelFormat,
int offsetX,
int offsetY,
int scanline,
int x,
int y,
int w,
int h)
CoRRE
public CoRRE(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 RRE
IOException
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class RRE
CloneNotSupportedException