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

用于创建缓动函数的 Compositor

controlPoint1
Vector2 Vector2

float2

缓动函数的第一个控制点。

controlPoint2
Vector2 Vector2

float2

缓动函数的第二个控制点。

返回

返回创建的 CubicBezierEasingFunction 对象。

Windows 要求

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

适用于

另请参阅