ScrollView.AddZoomVelocity 方法

定義

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

C#
public int AddZoomVelocity(float zoomFactorVelocity, System.Nullable<Vector2> centerPoint, System.Nullable<float> inertiaDecayRate);

參數

zoomFactorVelocity
Single

縮放因數的速率變更。

centerPoint

Nullable<Vector2>

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

inertiaDecayRate

Nullable<Single>

慣性衰減率。

傳回

Int32

適用於

產品 版本
Windows App SDK 1.4, 1.5, 1.6