共用方式為


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

用來建立 easing 函式的 Compositor

mode
CompositionEasingFunctionMode

一個列舉值,這個值會指定動畫如何進行插補。

傳回

會傳回建立的 SineEasingFunction 物件。

Windows 需求

裝置系列
Windows 10, version 2104 (已於 10.0.20348.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v12.0 引進)

適用於