GestureRecognizer.InertiaTranslationDeceleration 属性

定义

获取或设置一个值,该值指示在转换操作完成时从惯性开始到惯性结束 (的减速速率) 。

public:
 property float InertiaTranslationDeceleration { float get(); void set(float value); };
float InertiaTranslationDeceleration();

void InertiaTranslationDeceleration(float value);
public float InertiaTranslationDeceleration { get; set; }
var single = gestureRecognizer.inertiaTranslationDeceleration;
gestureRecognizer.inertiaTranslationDeceleration = single;
Public Property InertiaTranslationDeceleration As Single

属性值

Single

float

与设备无关的像素的减速速率 (DIP) /ms2

注解

如果 为 InertiaTranslationDisplacement 分配了一个值,则忽略 InertiaTranslationDeceleration。

适用于

另请参阅