static void defineViewport(int viewport, int orientation, int width, int height)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Range | Description |
---|---|---|
viewport | 1 ... 8 | index of the viewport |
orientation | 0 ... 3 | orientation of the viewport |
width | 0 ... display width | width of the viewport |
height | 0 ... display height | height of the viewport |
Defines a viewport with origin at the current cursor position.
Note
Example
Control.defineViewport(1, 0, 30, 15);
This example defines a viewport with index 1, the default orientation and a size of 30x15 pixels.
See also:
Copyright © demmel products gmbh. All rights reserved.