Method ZoomTo
ZoomTo(float, SKPoint)
Starts an animated zoom by the given multiplicative factor around a focal point.
public void ZoomTo(float factor, SKPoint focalPoint)
Parameters
factorfloatThe scale multiplier to apply (e.g.,
2.0to double the current zoom).focalPointSKPointThe point in view coordinates to zoom towards.
Remarks
The animation uses a cubic-out easing curve and runs for ZoomAnimationDuration milliseconds. Any previously running zoom animation is stopped before the new one begins.