MatrixChangedEventArgs(Matrix, Matrix, Double, Double, Double, Double, Double, Double, Double, Double, String) Constructor

Definition

Assembly PanAndZoom.dll

Initializes a new instance of the MatrixChangedEventArgs class.

public MatrixChangedEventArgs(Matrix matrix, Matrix previousMatrix, double zoomX, double zoomY, double offsetX, double offsetY, double previousZoomX, double previousZoomY, double previousOffsetX, double previousOffsetY, string operation)

Parameters

matrix
Avalonia.Matrix

The current transformation matrix.

previousMatrix
Avalonia.Matrix

The previous transformation matrix.

zoomX
Double

The current zoom ratio for x axis.

zoomY
Double

The current zoom ratio for y axis.

offsetX
Double

The current pan offset for x axis.

offsetY
Double

The current pan offset for y axis.

previousZoomX
Double

The previous zoom ratio for x axis.

previousZoomY
Double

The previous zoom ratio for y axis.

previousOffsetX
Double

The previous pan offset for x axis.

previousOffsetY
Double

The previous pan offset for y axis.

operation
String

The operation that caused the matrix change.