Package ilcd
Class Memory
Public Method setWidthOfScreen
static void setWidthOfScreen(int screen, int width)
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) |
width |
0 ... display width |
value for the width to be set |
Sets the width of the screen with index screen.
Note
- The width of the main screen (index 'M') is not modifiable.
- Width and height (refer to Memory.setHeightOfScreen(int, int)) of a screen are taken into account when being copied (refer to Memory.copyScreenFrom(int)) or painted (refer to Memory.paintScreenFrom(int)).
- If the width of a screen is decreased, the right hand part of the screen 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.setWidthOfScreen(4, 123);
Provided the screen with index 4 was activated, its width will be set to 123 pixels.
See also:
Copyright © demmel products gmbh. All rights reserved.