class RawEncoder extends java.lang.Object implements PixelsEncoder
| Modifier and Type | Field and Description |
|---|---|
private static int |
TRUE_COLOR_BITS_PER_PIXEL
Defines a 32 bits per a pixel integer constant.
|
| Constructor and Description |
|---|
RawEncoder() |
| 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.
|
private static final int TRUE_COLOR_BITS_PER_PIXEL
public byte[] packToBinaries(VirtualScreen screen, int x, int y, int w, int h)
packToBinaries in interface PixelsEncoderscreen - 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.