CompositionEasingFunction.CreateStepEasingFunction 方法

定义

重载

CreateStepEasingFunction(Compositor)

创建 StepEasingFunction 的实例。

CreateStepEasingFunction(Compositor, Int32)

创建 StepEasingFunction 的实例。

CreateStepEasingFunction(Compositor)

创建 StepEasingFunction 的实例。

public:
 static StepEasingFunction ^ CreateStepEasingFunction(Compositor ^ owner);
/// [Windows.Foundation.Metadata.Overload("CreateStepEasingFunction")]
 static StepEasingFunction CreateStepEasingFunction(Compositor const& owner);
[Windows.Foundation.Metadata.Overload("CreateStepEasingFunction")]
public static StepEasingFunction CreateStepEasingFunction(Compositor owner);
function createStepEasingFunction(owner)
Public Shared Function CreateStepEasingFunction (owner As Compositor) As StepEasingFunction

参数

owner
Compositor

用于创建缓动函数的 Compositor

返回

返回创建的 StepEasingFunction 对象。

属性

Windows 要求

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

适用于

CreateStepEasingFunction(Compositor, Int32)

创建 StepEasingFunction 的实例。

public:
 static StepEasingFunction ^ CreateStepEasingFunction(Compositor ^ owner, int stepCount);
/// [Windows.Foundation.Metadata.Overload("CreateStepEasingFunctionWithStepCount")]
 static StepEasingFunction CreateStepEasingFunction(Compositor const& owner, int const& stepCount);
[Windows.Foundation.Metadata.Overload("CreateStepEasingFunctionWithStepCount")]
public static StepEasingFunction CreateStepEasingFunction(Compositor owner, int stepCount);
function createStepEasingFunction(owner, stepCount)
Public Shared Function CreateStepEasingFunction (owner As Compositor, stepCount As Integer) As StepEasingFunction

参数

owner
Compositor

用于创建缓动函数的 Compositor

stepCount
Int32

int

StepEasingFunction 的步骤数。

返回

返回创建的 StepEasingFunction 对象。

属性

Windows 要求

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

适用于