Zoom to the given point at the given scale factor


  • point: {x: number, y: number}: the point on canvas to zoom into.
  • scale: number the scaling factor of the zoom.

This function resets any of the existing scales and zooms into the given point.

Did this page help you?