Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
...
Code Block |
---|
rectangle = CreateObject("roRectangle", 0, 0, 1024, 768) i = CreateObject("roImageWidget", rectangle) |
ifImageControl
DisplayFile(image_filename As String) As Boolean
...
- 0: No transition: immediate blit
- 1-4: Wipes from top, bottom, left, or right.
- 5-8: Explodes from centre, top left, top right, bottom left, or bottom right.
- 10-11: Uses vertical or horizontal venetian-blind effect.
- 12-13: Combs vertical or horizontal.
- 14: Fades out to background color, then back in.
- 15: Fades between current image and new image.
- 16-19: Slides from top, bottom, left or right.
- 20-23: Slides entire screen from top, bottom, left, or right.
- 24-25: Scales old image in, then the new one out again (this works as a pseudo rotation around a vertical or horizontal axis).
- 26-29: Expands a new image onto the screen from right, left, bottom, or top.
SetRectangle(r As roRectangle) As Boolean
...
- .
SetTransform(transform As String) As Boolean
...
Composites the image with the specified filename on top of the primary DisplayFile()
image. Use the x
and y
integers to specify its location within the image widget.
SetRectangle(r As roRectangle) As Boolean
Changes the size and positioning of the image rectangle using the passed roRectangle object.
GetRectangle() As roRectangle
...