AnimationSplineBuilder.AddSpline

AnimationSplineBuilder.AddSpline method

Adds a cubic Bézier curve to the animation spline.

public AnimationSplineBuilder AddSpline(double x1, double y1, double x2, double y2)
ParameterTypeDescription
x1DoubleThe x-coordinate of the first control point.
y1DoubleThe y-coordinate of the first control point.
x2DoubleThe x-coordinate of the second control point.
y2DoubleThe y-coordinate of the second control point.

Return Value

The current instance of AnimationSplineBuilder for method chaining.

See Also