共用方式為


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

用來建立 Easing 函式的 Compositor

controlPoint1
Vector2 Vector2

float2

Easing 函式的第一個控制點。

controlPoint2
Vector2 Vector2

float2

Easing 函式的第二個控制點。

傳回

會傳回建立的 CubicBezierEasingFunction 物件。

Windows 需求

裝置系列
Windows 10, version 2104 (已於 10.0.20348.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v12.0 引進)

適用於

另請參閱