KeySpline KeySpline KeySpline KeySpline Constructors

Definition

Overloads

KeySpline() KeySpline() KeySpline()

Initializes a new instance of the KeySpline class.

KeySpline(Point, Point) KeySpline(Point, Point) KeySpline(Point, Point) KeySpline(Point, Point)

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

KeySpline(Double, Double, Double, Double) KeySpline(Double, Double, Double, Double) KeySpline(Double, Double, Double, Double) KeySpline(Double, Double, Double, Double)

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

KeySpline() KeySpline() KeySpline()

Initializes a new instance of the KeySpline class.

public:
 KeySpline();
public KeySpline ();
Public Sub New ()

Remarks

The default values for ControlPoint1 and ControlPoint2 are (0,0) and (1,1) respectively, which has no effect on the progress of an animation or key frame.

KeySpline(Point, Point) KeySpline(Point, Point) KeySpline(Point, Point) KeySpline(Point, Point)

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

public:
 KeySpline(System::Windows::Point controlPoint1, System::Windows::Point controlPoint2);
public KeySpline (System.Windows.Point controlPoint1, System.Windows.Point controlPoint2);
new System.Windows.Media.Animation.KeySpline : System.Windows.Point * System.Windows.Point -> System.Windows.Media.Animation.KeySpline
Public Sub New (controlPoint1 As Point, controlPoint2 As Point)

Parameters

controlPoint1
Point Point Point Point

The control point for the ControlPoint1 of the KeySpline.

controlPoint2
Point Point Point Point

The control point for the ControlPoint2 of the KeySpline.

KeySpline(Double, Double, Double, Double) KeySpline(Double, Double, Double, Double) KeySpline(Double, Double, Double, Double) KeySpline(Double, Double, Double, Double)

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

public:
 KeySpline(double x1, double y1, double x2, double y2);
public KeySpline (double x1, double y1, double x2, double y2);
new System.Windows.Media.Animation.KeySpline : double * double * double * double -> System.Windows.Media.Animation.KeySpline
Public Sub New (x1 As Double, y1 As Double, x2 As Double, y2 As Double)

Parameters

x1
Double Double Double Double

The x-coordinate for the ControlPoint1 of the KeySpline.

y1
Double Double Double Double

The y-coordinate for the ControlPoint1 of the KeySpline.

x2
Double Double Double Double

The x-coordinate for the ControlPoint2 of the KeySpline.

y2
Double Double Double Double

The y-coordinate for the ControlPoint2 of the KeySpline.

Applies to