CompositionEasingFunction.CreateSineEasingFunction 方法

定义

创建 SineEasingFunction 的实例。

public:
 static SineEasingFunction ^ CreateSineEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode);
 static SineEasingFunction CreateSineEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode);
public static SineEasingFunction CreateSineEasingFunction(Compositor owner, CompositionEasingFunctionMode mode);
function createSineEasingFunction(owner, mode)
Public Shared Function CreateSineEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode) As SineEasingFunction

参数

owner
Compositor

用于创建缓动函数的 Compositor

mode
CompositionEasingFunctionMode

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

返回

返回创建的 SineEasingFunction 对象。

Windows 要求

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

适用于