我制作了由 3 条曲线组成的动画路径。执行动画时效果很好,但每个曲线运动之间有 1 秒(大约)的延迟。我怎样才能避免这种延迟?
这是我添加子路径的方式:
path.AddCurveToPoint (
new PointF (x, y),
new PointF (x - xControl, new_y - (new_y - y)/2.0f),
new PointF (x, new_y));
path.AddCurveToPoint (
new PointF (x, y),
new PointF (x -xControl, new_y + (new_y - y)/2.0f),
new PointF (x, new_y));
path.AddCurveToPoint (
new PointF (x, y),
new PointF (x + xControl, new_y - (new_y - y)/2.0f),
new PointF (x, new_y));