Image.Scroll (gb.image.imlib)

Sub Scroll ( DX As Integer, DY As Integer [ , X As Integer, Y As Integer, Width As Integer, Height As Integer ] )

Scroll a rectangle of size (Width, Height) at the (X, Y) location within the current image by the (DX, DY) distance in pixels.

  • DX is the distance along the x coordinates.

  • DY is the distance along the y coordinates.

  • X is the top left x coordinate of the rectangle.

  • Y is the top left y coordinate of the rectangle.

  • Width is the width of the rectangle.

  • Height is the height of the rectangle.

If the last four arguments are not specified, the entire image is scrolled.