CompositionEasingFunction.CreateBounceEasingFunction 方法

定义

创建 BounceEasingFunction 的新实例。

public:
 static BounceEasingFunction ^ CreateBounceEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, int bounces, float bounciness);
 static BounceEasingFunction CreateBounceEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, int const& bounces, float const& bounciness);
public static BounceEasingFunction CreateBounceEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, int bounces, float bounciness);
function createBounceEasingFunction(owner, mode, bounces, bounciness)
Public Shared Function CreateBounceEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, bounces As Integer, bounciness As Single) As BounceEasingFunction

参数

owner
Compositor

用于创建缓动函数的合成器。

mode
CompositionEasingFunctionMode

一个 值,该值指定动画的内插方式。

bounces
Int32

int

弹跳次数。

bounciness
Single

float

一个 值,该值指定弹跳动画的弹力。

返回

创建的 BounceEasingFunction 对象。

适用于

另请参阅