Compartilhar via


ScrollView.AddZoomVelocity Método

Definição

Adiciona velocidade de forma assíncrona a uma ação 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

A taxa da alteração do fator de zoom.

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

O ponto central da alteração do fator de zoom.

inertiaDecayRate

IReference<Single>

Nullable<Single>

IReference<float>

A taxa de decadência da inércia.

Retornos

Int32

int

Aplica-se a