Breyta

Deila með


KeySpline Constructors

Definition

Initializes a new instance of the KeySpline class.

Overloads

KeySpline()

Initializes a new instance of the KeySpline class.

KeySpline(Point, Point)

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

KeySpline(Double, Double, Double, Double)

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

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.

Applies to

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

The control point for the ControlPoint1 of the KeySpline.

controlPoint2
Point

The control point for the ControlPoint2 of the KeySpline.

Applies to

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

The x-coordinate for the ControlPoint1 of the KeySpline.

y1
Double

The y-coordinate for the ControlPoint1 of the KeySpline.

x2
Double

The x-coordinate for the ControlPoint2 of the KeySpline.

y2
Double

The y-coordinate for the ControlPoint2 of the KeySpline.

Applies to