resizeTo()

This method is used to resize the width and height of the window specified. The values are measured in pixels of the X and Y axis'. It should be noted that the top and left side edges of the window will not move. It is the bottom and right hand edges of the window which will move.

syntax:

resizeTo(x , y)

This method is used with the following:

layer
window