StretchModeChangedEventArgs(StretchMode, StretchMode, Matrix, Matrix, Double, Double, Double, Double, Double, Double, Double, Double) Constructor

Definition

Assembly PanAndZoom.dll

Initializes a new instance of the StretchModeChangedEventArgs class.

public StretchModeChangedEventArgs(StretchMode stretchMode, StretchMode previousStretchMode, Matrix matrix, Matrix previousMatrix, double zoomX, double zoomY, double offsetX, double offsetY, double panelWidth, double panelHeight, double elementWidth, double elementHeight)

Parameters

stretchMode
StretchMode

The current stretch mode.

previousStretchMode
StretchMode

The previous stretch mode.

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.

panelWidth
Double

The panel width used for the stretch calculation.

panelHeight
Double

The panel height used for the stretch calculation.

elementWidth
Double

The element width used for the stretch calculation.

elementHeight
Double

The element height used for the stretch calculation.