resize
Resizes the view to the specified dimensions.
Parameters
width
The new width of the view in pixels.
height
The new height of the view in pixels.
redraw
A flag that indicates whether the view must be redrawn after the resize operation (since v2.0.0).