gnu.rfb
Class CoRREStub
java.lang.Object
|
+--gnu.rfb.Rect
|
+--gnu.rfb.CoRREStub
- All Implemented Interfaces:
- Cloneable
- public class CoRREStub
- extends Rect
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 |
CoRREStub(int[] pixels,
PixelFormat pixelFormat,
int offsetX,
int offsetY,
int scanline,
int x,
int y,
int w,
int h)
|
CoRREStub(int x,
int y,
int w,
int h,
CoRRE[] rects)
|
rects
public CoRRE[] rects
CoRREStub
public CoRREStub(int[] pixels,
PixelFormat pixelFormat,
int offsetX,
int offsetY,
int scanline,
int x,
int y,
int w,
int h)
CoRREStub
public CoRREStub(int x,
int y,
int w,
int h,
CoRRE[] rects)
writeData
public void writeData(DataOutput output)
throws IOException
- Overrides:
writeData
in class Rect
IOException
transform
public void transform(int transformX,
int transformY)
- Overrides:
transform
in class Rect
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Rect
CloneNotSupportedException