zoom(...)
zoom(val: number): this;
Sets the zoom of the transform. The default value, 1.0, indicates that the Z.ScreenTransform's coordinate system maps y = -1.0 through y = 1.0 to the bottom of the screen and top of the screen respectively. Other values uniformly scale the coordinate space.
Parameters
Parameter | Type | Description |
---|---|---|
val | number | The transform zoom value. |
Returns
this