Compartir a través de


ScrollView.AddZoomVelocity Método

Definición

Agrega velocidad de forma asincrónica a una acción de zoom.

public:
 virtual int AddZoomVelocity(float zoomFactorVelocity, IReference<float2> ^ centerPoint, IReference<float> ^ inertiaDecayRate) = AddZoomVelocity;
int AddZoomVelocity(float const& zoomFactorVelocity, IReference<float2> const& centerPoint, IReference<float> const& inertiaDecayRate);
public int AddZoomVelocity(float zoomFactorVelocity, System.Nullable<Vector2> centerPoint, System.Nullable<float> inertiaDecayRate);
function addZoomVelocity(zoomFactorVelocity, centerPoint, inertiaDecayRate)
Public Function AddZoomVelocity (zoomFactorVelocity As Single, centerPoint As Nullable(Of Vector2), inertiaDecayRate As Nullable(Of Single)) As Integer

Parámetros

zoomFactorVelocity
Single

float

Velocidad del cambio de factor de zoom.

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

Punto central del cambio de factor de zoom.

inertiaDecayRate

IReference<Single>

Nullable<Single>

IReference<float>

Tasa de descomposición de la inercia.

Devoluciones

Int32

int

Se aplica a