Share via


CompositionEasingFunction.CreateCubicBezierEasingFunction Method

Definition

Creates a new 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 cubic-bezier interpolation function.

controlPoint2
Vector2 Vector2

float2

The second control point for the cubic-bezier interpolation function.

Returns

The created CubicBezierEasingFunction object.

Applies to

See also