The resizeBy() and resizeTo() methods

The resizeBy() method is used to resize a window. To make it larger use positive numbers and to make it smaller use negative numbers.

The resizeTo() method is used to resize a window to a specific dimension. You have to input the new width and height in pixels in place of the coordinates used in moveTo() method.

Leave a Reply