共用方式為


ScrollView.AddZoomVelocity 方法

定義

以異步方式將速度新增至縮放動作。

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

參數

zoomFactorVelocity
Single

float

縮放因數的速率變更。

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

縮放因數的中心點會變更。

inertiaDecayRate

IReference<Single>

Nullable<Single>

IReference<float>

慣性衰減率。

傳回

Int32

int

適用於