KeySpline Constructors
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.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기