ViewAnimation
MovePath
Interpolator Direction
Rate
这是AnimatorSet库,它有三个移动路径和许多
动画,你可以通过自己的观点简单的动画。
Demo
任意圆弧运动
Any circular motion
List list=movePath.getCurveData(new float[]{200, 200}, 40, 1);
第一个参数:结束点坐标;第二个参数:曲率半径;第三个参数:弯曲方向
first param:end coordinate;second param:Radius of curvature;third param:curve direction
Any circular motion
List list=movePath.getCurveData(new float[]{200, 200}, 40, 1);
第一个参数:结束点坐标;第二个参数:曲率半径;第三个参数:弯曲方向
first param:end coordinate;second param:Radius of curvature;third param:curve direction
Interpolator Direction