Canvas.setVision Method
Set the current vision of the canvas.
Parameters
- left
-
Type: Number
The left coordinate of vision relative to the canvas.
- top
-
Type: Number
The top coordinate of the vision relative to the canvas.
- scale
-
Type: Number
The scale to be set.
- suppressChangedEvent
-
Type: Boolean
true to not fire the VisionChanged event on the canvas.
- fireChangingEvent
-
Type: Boolean
true to fire VisionChanging event on the canvas.
- scaleY
-
Type: Number - May be null
(Optional) The scaleY to be set.