public interface PixelsEncoder
Modifier and Type | Method and Description |
---|---|
byte[] |
packToBinaries(VirtualScreen screen,
int x,
int y,
int w,
int h)
Encode the rectangular area on the screen to transfer.
|
byte[] packToBinaries(VirtualScreen screen, int x, int y, int w, int h)
screen
- The virtual screen with the defined color model.x
- The position of the left side of the target rectangle along the screen horizon.y
- The position of the upper side of the target rectangle along the screen's
vertical.w
- The width of the target rectangular area.h
- The height of the target rectangular area.