ZoomEventArgs(Double, Double, Double, Double, Double, Double, Double, Double, Double, Matrix, Matrix) Constructor

Definition

Assembly PanAndZoom.dll

Initializes a new instance of the ZoomEventArgs class.

public ZoomEventArgs(double zoomX, double zoomY, double previousZoomX, double previousZoomY, double zoomDelta, double centerX, double centerY, double offsetX, double offsetY, Matrix matrix, Matrix previousMatrix)

Parameters

zoomX
Double

The current zoom ratio for x axis.

zoomY
Double

The current zoom ratio for y axis.

previousZoomX
Double

The previous zoom ratio for x axis.

previousZoomY
Double

The previous zoom ratio for y axis.

zoomDelta
Double

The zoom delta ratio.

centerX
Double

The zoom center point x coordinate.

centerY
Double

The zoom center point y coordinate.

offsetX
Double

The current pan offset for x axis.

offsetY
Double

The current pan offset for y axis.

matrix
Avalonia.Matrix

The current transformation matrix.

previousMatrix
Avalonia.Matrix

The previous transformation matrix.