gnu.rfb
Class CopyRect
java.lang.Object
gnu.rfb.Rect
gnu.rfb.CopyRect
- All Implemented Interfaces:
- java.lang.Cloneable
public class CopyRect
- extends Rect
Constructor Summary |
CopyRect(int x,
int y,
int w,
int h,
int srcX,
int srcY)
Default constructor |
Method Summary |
void |
writeData(java.io.DataOutput output)
Writes out a CopyRect message to the given output. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
srcX
public int srcX
srcY
public int srcY
CopyRect
public CopyRect(int x,
int y,
int w,
int h,
int srcX,
int srcY)
- Default constructor
- Parameters:
x
- The x-location of the source rectangley
- The y-location of the source rectanglew
- The width of the source rectangleh
- The height of the source rectanglesrcX
- The x-location of the destination rectanglesrcY
- The y-location of the destination rectangle
writeData
public void writeData(java.io.DataOutput output)
throws java.io.IOException
- Writes out a CopyRect message to the given output.
- Overrides:
writeData
in class Rect
- Parameters:
output
- The output to write to.
- Throws:
java.io.IOException
- If unable to write to the output.