public interface VirtualScreen
Modifier and Type | Method and Description |
---|---|
void |
drawImage(ImageWrapper image,
int x,
int y)
Draw an image at the target position on the screen.
|
java.awt.image.DirectColorModel |
getColorModel()
Describes a pixel format used for drawing.
|
int[] |
getPixels()
Returns RGBA model via pixels, each pixel is encoded as an integer.
|
int |
getScreenHeight()
Gets a screen height.
|
int |
getScreenWidth()
Gets a screen width.
|
int[] getPixels()
int getScreenWidth()
int getScreenHeight()
java.awt.image.DirectColorModel getColorModel()
void drawImage(ImageWrapper image, int x, int y)
image
- The target image.x
- The x-coordinate of the target image position.y
- The y-coordinate of the target image position.