CompositionEasingFunction.CreatePowerEasingFunction 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 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
用于创建缓动函数的 Compositor 。
用于指定动画内插方式的枚举值之一。
- power
-
Single
float
动画内插的指数幂。 此值必须大于等于 0。
返回
返回创建的 PowerEasingFunction 对象。
Windows 要求
设备系列 |
Windows 10, version 2104 (在 10.0.20348.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v12.0 中引入)
|