我制作了由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));