moveBy method

void moveBy(
  1. int x,
  2. int y
)

The moveBy() method of the Window interface moves the current window by a specified amount.

Note: This function moves the window relative to its current location. In contrast, window.moveTo moves the window to an absolute location.

Implementation

external void moveBy(
  int x,
  int y,
);