CompositionEasingFunction.CreateBackEasingFunction 方法

定义

创建 BackEasingFunction 的实例。

public:
 static BackEasingFunction ^ CreateBackEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, float amplitude);
 static BackEasingFunction CreateBackEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, float const& amplitude);
public static BackEasingFunction CreateBackEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, float amplitude);
function createBackEasingFunction(owner, mode, amplitude)
Public Shared Function CreateBackEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, amplitude As Single) As BackEasingFunction

参数

owner
Compositor

用于创建缓动函数的 Compositor

mode
CompositionEasingFunctionMode

用于指定动画内插方式的枚举值之一。

amplitude
Single

float

与此 BackEasingFunction关联的收回幅度。 此值必须大于等于 0。

返回

返回创建的 BackEasingFunction 对象。

Windows 要求

设备系列
Windows 10, version 2104 (在 10.0.20348.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v12.0 中引入)

适用于