ZoomToPoint(Double, Point) Method

Definition

Assembly Svg.Controls.Skia.Avalonia.dll

Adjusts Zoom and pan offsets so that zooming keeps the specified control point fixed.

public void ZoomToPoint(double newZoom, Point point)

Parameters

newZoom
Double

The new zoom factor.

point
Avalonia.Point

Point in control coordinates that should stay in place.