static void copyScreenArea(int width, int height, int screen, int posX, int posY)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Range | Description |
---|---|---|
width | 1 ... display width | width of the area to copy |
height | 1 ... display height | height of the area to copy |
screen | M, 0 ... number of screens - 1 | index of the screen to copy to (M = main screen) |
posX | 0 ... display width - 1 | horizontal position to copy the content to |
posY | 0 ... display height - 1 | vertical position to copy the content to |
Copies the content of an area of the currently active draw screen starting from the current cursor position.
Note
Example
Memory.copyScreenArea(25, 45, 'M', 500, 250);
This example copies an area of 25 pixels width and 45 pixels height (starting from the current cursor position) from the currently active draw screen to main screen at coordinates x = 500 and y = 250 pixels.
See also:
Memory
Memory.copyScreenTo(int)
Memory.copyScreenFrom(int)
Memory.paintScreenFrom(int)
Memory.setViewScreen(int)
Copyright © demmel products gmbh. All rights reserved.