Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

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.
SetTransform(transform As String) As Boolean

Applies one of eight transforms to the image. Calls to this method only take effect when the next file is displayed. Note that the image rectangle itself does not change to accommodate the new height and width ratio of a transformed image. This method can be called separately on multiple roImagePlayer or roImageWidget instances.

...