GestureEventArgs(String, Double, Double, Double, Double, Double, Double, Double, Matrix, Matrix) Constructor

Definition

Assembly PanAndZoom.dll

Initializes a new instance of the GestureEventArgs class.

public GestureEventArgs(string gestureType, double zoomX, double zoomY, double offsetX, double offsetY, double centerX, double centerY, double delta, Matrix matrix, Matrix previousMatrix)

Parameters

gestureType
String

The type of gesture.

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.

centerX
Double

The gesture center point x coordinate.

centerY
Double

The gesture center point y coordinate.

delta
Double

The gesture delta value.

matrix
Avalonia.Matrix

The current transformation matrix.

previousMatrix
Avalonia.Matrix

The previous transformation matrix.