CompositorExtensions.CreateCubicBezierEasingFunction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a Windows.UI.Composition.CubicBezierEasingFunction from the input control points.
public static Windows.UI.Composition.CubicBezierEasingFunction CreateCubicBezierEasingFunction (this Windows.UI.Composition.Compositor compositor, float x1, float y1, float x2, float y2);
static member CreateCubicBezierEasingFunction : Windows.UI.Composition.Compositor * single * single * single * single -> Windows.UI.Composition.CubicBezierEasingFunction
<Extension()>
Public Function CreateCubicBezierEasingFunction (compositor As Compositor, x1 As Single, y1 As Single, x2 As Single, y2 As Single) As CubicBezierEasingFunction
Parameters
- compositor
- Windows.UI.Composition.Compositor
The source Windows.UI.Composition.CompositionObject used to create the easing function.
- x1
- Single
The X coordinate of the first control point.
- y1
- Single
The Y coordinate of the first control point.
- x2
- Single
The X coordinate of the second control point.
- y2
- Single
The Y coordinate of the second control point.
Returns
A Windows.UI.Composition.CubicBezierEasingFunction instance with the given control points.