Point p
) Moves this window to a specific position.
x and y can be negative.
Other resources
-
Window.moveTo from MDN.
-
Window.moveTo from W3C.
Source
/**
* Moves this window to a specific position.
*
* x and y can be negative.
*
* ## Other resources
*
* * [Window.moveTo]
* (https://developer.mozilla.org/en-US/docs/Web/API/Window.moveTo) from MDN.
* * [Window.moveTo]
* (http://dev.w3.org/csswg/cssom-view/#dom-window-moveto) from W3C.
*/
void moveTo(Point p) {
_moveTo(p.x, p.y);
}