共用方式為


CompositionEasingFunction.CreatePowerEasingFunction 方法

定義

建立 PowerEasingFunction的實例。

public:
 static PowerEasingFunction ^ CreatePowerEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, float power);
 static PowerEasingFunction CreatePowerEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, float const& power);
public static PowerEasingFunction CreatePowerEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, float power);
function createPowerEasingFunction(owner, mode, power)
Public Shared Function CreatePowerEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, power As Single) As PowerEasingFunction

參數

owner
Compositor

用來建立 Easing 函式的 Compositor

mode
CompositionEasingFunctionMode

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

power
Single

float

動畫插補的指數乘冪。 這個值必須大於或等於 0。

傳回

會傳回已建立的 PowerEasingFunction 物件。

Windows 需求

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

適用於