关于android 的Transformation类Transformation的官方说明是:Class Overview:Defines the transformation to be applied at one point in time of an Animation.不是很明白这个意思.有高手能更详细的说明下这个类的意思吗,通

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/27 18:31:37
关于android 的Transformation类Transformation的官方说明是:Class Overview:Defines the transformation to be applied at one point in time of an Animation.不是很明白这个意思.有高手能更详细的说明下这个类的意思吗,通

关于android 的Transformation类Transformation的官方说明是:Class Overview:Defines the transformation to be applied at one point in time of an Animation.不是很明白这个意思.有高手能更详细的说明下这个类的意思吗,通
关于android 的Transformation类
Transformation的官方说明是:
Class Overview:
Defines the transformation to be applied at one point in time of an Animation.
不是很明白这个意思.
有高手能更详细的说明下这个类的意思吗,通俗一点.

关于android 的Transformation类Transformation的官方说明是:Class Overview:Defines the transformation to be applied at one point in time of an Animation.不是很明白这个意思.有高手能更详细的说明下这个类的意思吗,通
在绘制Tween动画的时候用的,Tween动画的实质就是ParentView不断的调整childView的Canvas的坐标来实现的,在dispathdraw()中,Animation a = ChildView.getAnimation();Transformation tm = a.getTransformation(); //Transformation 中包含一个矩阵和 alpha 值,矩阵是用来做平移、旋转和缩放动画的,通过tm来设置子控件的canvas.