Delen via


CompositionEasingFunction.CreateCubicBezierEasingFunction Method

Definition

Creates an instance of 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

Parameters

owner
Compositor

The Compositor used to create the easing function.

controlPoint1
Vector2 Vector2

float2

The first control point for the easing function.

controlPoint2
Vector2 Vector2

float2

The second control point for the easing function.

Returns

Returns the created CubicBezierEasingFunction object.

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Applies to

See also