CompositionEasingFunction.CreateCubicBezierEasingFunction 方法

定义

创建 CubicBezierEasingFunction 的新实例。

public:
 static CubicBezierEasingFunction ^ CreateCubicBezierEasingFunction(Compositor ^ owner, float2 controlPoint1, float2 controlPoint2);
 static CubicBezierEasingFunction CreateCubicBezierEasingFunction(Compositor const& owner, float2 const& controlPoint1, float2 const& controlPoint2);
public static CubicBezierEasingFunction CreateCubicBezierEasingFunction(Compositor owner, Vector2 controlPoint1, Vector2 controlPoint2);
function createCubicBezierEasingFunction(owner, controlPoint1, controlPoint2)
Public Shared Function CreateCubicBezierEasingFunction (owner As Compositor, controlPoint1 As Vector2, controlPoint2 As Vector2) As CubicBezierEasingFunction

参数

owner
Compositor

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

controlPoint1
Vector2 Vector2

float2

立方贝塞尔内插函数的第一个控制点。

controlPoint2
Vector2 Vector2

float2

立方贝塞尔内插函数的第二个控制点。

返回

创建的 CubicBezierEasingFunction 对象。

适用于

另请参阅