static void setAnimationCoordinatesToXY(int animLoc, int posX, int posY)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Range | Description |
---|---|---|
animLoc | 0 ... 7 | index of the animation control |
posX | 0 ... display width - 1 | horizontal position of the graphic |
posY | 0 ... display height - 1 | vertical position of the graphic |
Allows to specify coordinates for a graphic loaded into the animation control.
Note
Example
Graphic.setAnimationCoordinatesToXY(0, 220, 150);
This example will access the animated graphic referenced in the animation control with index 0 and set its drawing coordinates to x = 220 pixels and y = 150 pixels.
See also:
Copyright © demmel products gmbh. All rights reserved.