Compartilhar via


CompositionEasingFunction.CreateCubicBezierEasingFunction Método

Definição

Cria uma instância de 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

Parâmetros

owner
Compositor

O Compositor usado para criar a função de easing.

controlPoint1
Vector2 Vector2

float2

O primeiro ponto de controle para a função de easing.

controlPoint2
Vector2 Vector2

float2

O segundo ponto de controle para a função de easing.

Retornos

Retorna o objeto CubicBezierEasingFunction criado.

Requisitos do Windows

Família de dispositivos
Windows 10, version 2104 (introduzida na 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v12.0)

Aplica-se a

Confira também