Canvas.updateViewport Method
Notify the canvas that the viewport has been modified.
Parameters
- scale
-
Type: Number - May be null
(Optional) The scale to resize the viewport to, if null use current scale.
- done
-
Type: Boolean
True to fire ViewportResized event.