KeySpline Constructor (Double, Double, Double, Double)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the KeySpline class with the specified coordinates for the control points.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public KeySpline(
	double x1,
	double y1,
	double x2,
	double y2
)

Parameters

x1
Type: System.Double

The x-coordinate for the ControlPoint1 of the KeySpline.

y1
Type: System.Double

The y-coordinate for the ControlPoint1 of the KeySpline.

x2
Type: System.Double

The x-coordinate for the ControlPoint2 of the KeySpline.

y2
Type: System.Double

The y-coordinate for the ControlPoint2 of the KeySpline.

.NET Framework
Available since 3.0
Return to top
Show: