zoom Method
Zoom the view by a scale factor, placing the new center at the given point (world coordinates).
zoom(newCenter: Point3d | undefined, factor: number, options?: ViewChangeOptions): void
Parameter | Type | Description |
---|---|---|
newCenter | Point3d | undefined | The new center point of the view, in world coordinates. If undefined, use current center. |
factor | number | the zoom factor. |
options | ViewChangeOptions | options for behavior of view change |
Returns - void
Defined in
- core/frontend/src/Viewport.ts Line 1670
Last Updated: 13 June, 2024