package com.tokener.picturebox;
/**
* @author jackzong
* @time 2014/5/8
* @version 1.0
* @content ����animation��˳ʱ���0��ת��-180��
*/
public class CWReverseFromZero implements AnimationStrategy {
private Rotation3DAnimation animate;
@Override
public Rotation3DAnimation createAnimation(float centerX, float centerY) {
animate = new Rotation3DAnimation(0f, -180f, centerX, centerY, centerX,
true, false);
animate.setFillAfter(true);
animate.setInterpolator(AnimationDatas.accelerateInterpolator);
animate.setDuration(AnimationDatas.ANIMATION_DURATION_TWOPIC);
return animate;
}
}