KeySpline(Double, Double, Double, Double) Constructor
Create a KeySpline with the given parameters
Definition
Namespace: Avalonia.Animation
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public KeySpline(
double x1,
double y1,
double x2,
double y2
)
Public Sub New (
x1 As Double,
y1 As Double,
x2 As Double,
y2 As Double
)
new :
x1 : float *
y1 : float *
x2 : float *
y2 : float -> KeySpline
Parameters
- Double
- X coordinate for the first control point
- Double
- Y coordinate for the first control point
- Double
- X coordinate for the second control point
- Double
- Y coordinate for the second control point
See Also
Reference
KeySpline Class
KeySpline Overload
Avalonia.Animation Namespace