静态
getControl points [x0,y0,x1,y1...]
The number of interpolation points for each curve segment
The order of the Bezier curve (2 for quadratic, 3 for cubic)
可选
out: number[]An array of points on the Bezier curve
静态
getThe progress parameter, between 0 and 1, where 0 represents the start of the curve and 1 represents the end.
X-coordinate of the first control point P1.
Y-coordinate of the first control point P1.
X-coordinate of the second control point P2.
Y-coordinate of the second control point P2.
The interpolated y-value at the given progress t. This value represents the state of an animated property at that point in the animation. If t is greater than the x-coordinate of all sampled points, it returns 1.
En
Utility class for calculating Bezier curves.
Zh
计算贝塞尔曲线的工具类。