Package ilcd
Class Memory
Public Method setHeightOfScreen
static void setHeightOfScreen(int screen, int height)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter |
Range |
Description |
screen |
M, 0 ... number of screens - 1 |
index of the screen to set the height (M = main screen) |
height |
0 ... display height |
value for the height to be set |
Sets the height of the screen indexed by screen.
Note
- The height of the main screen (index M) is not modifiable.
- Width (refer to Memory.setWidthOfScreen(int, int)) and height of a screen are taken into account when being copied (refer to Memory.copyScreenFrom(int)) or painted (refer to Memory.paintScreenFrom(int)).
- If the height of an image is decreased the bottom part of the image will be cut.
- When cropping a screen, this screen can not be selected as draw or view screen any longer. To make a screen selectable again, the width and height have to be restored to the full display size.
Memory.setHeightOfScreen(1, 52);
Provided the screen with index 1 was activated, its height will be set to 52 pixels.
See also:
Copyright © demmel products gmbh. All rights reserved.